Hello! I am trying to package
https://github.com/processone/zlib and the
resulting library has some errors:
[rbarlow@boole erlang-p1_zlib]$ ldd -r
~/rpmbuild/BUILD/zlib-e3d4222b7aae616d7ef2e7e2fa0bbf451516c602/priv/lib/ezlib_drv.so
linux-vdso.so.1 (0x00007ffec3a62000)
libz.so.1 => /lib64/libz.so.1 (0x00007fe1683c3000)
libc.so.6 => /lib64/libc.so.6 (0x00007fe167ffc000)
/lib64/ld-linux-x86-64.so.2 (0x00005639b527a000)
undefined symbol: set_port_control_flags
(/home/rbarlow/rpmbuild/BUILD/zlib-e3d4222b7aae616d7ef2e7e2fa0bbf451516c602/priv/lib/ezlib_drv.so)
undefined symbol: driver_free
(/home/rbarlow/rpmbuild/BUILD/zlib-e3d4222b7aae616d7ef2e7e2fa0bbf451516c602/priv/lib/ezlib_drv.so)
undefined symbol: driver_alloc_binary
(/home/rbarlow/rpmbuild/BUILD/zlib-e3d4222b7aae616d7ef2e7e2fa0bbf451516c602/priv/lib/ezlib_drv.so)
undefined symbol: driver_alloc
(/home/rbarlow/rpmbuild/BUILD/zlib-e3d4222b7aae616d7ef2e7e2fa0bbf451516c602/priv/lib/ezlib_drv.so)
undefined symbol: driver_realloc_binary
(/home/rbarlow/rpmbuild/BUILD/zlib-e3d4222b7aae616d7ef2e7e2fa0bbf451516c602/priv/lib/ezlib_drv.so)
I've determined that these symbols are included in the erts package, and
I think in libei.a. I am unsure if this is a packaging error that I need
to respond to, or if this is how Erlang ports work. Can someone advise
me on what I am supposed to do here?
--
Randy Barlow
irc: bowlofeggs