undefined symbol: isc_commandline_index??
Jiann-Ming Su
su_js1 at yahoo.com
Thu Aug 2 07:15:31 UTC 2012
Successfully building 9.8.3-P2 on a CentOS 5.x system with rpmbuild. I can install the RPMs, but when I try to start the named process, I get the following:
/usr/sbin/named-checkconf: symbol lookup error: /usr/sbin/named-checkconf: undefined symbol: isc_commandline_index
On the rpmbuild system, the binary seems to run fine and can check the named.conf.default file without the symbol lookup error.
Why would it build and package correctly, but when I go to execute, get that error? What package or library am I not bundling in the RPM?
Here's the output of ldd:
ldd -d -r /usr/sbin/named-checkconf
linux-gate.so.1 => (0x0056c000)
libbind9.so.80 => /usr/lib/libbind9.so.80 (0x00cc2000)
libisccfg.so.82 => /usr/lib/libisccfg.so.82 (0x00bca000)
libdns.so.81 => /usr/lib/libdns.so.81 (0x00110000)
libisccc.so.80 => /usr/lib/libisccc.so.80 (0x007ea000)
libisc.so.83 => /usr/lib/libisc.so.83 (0x00f3a000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00d4a000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x0023f000)
libdl.so.2 => /lib/libdl.so.2 (0x00567000)
libcap.so.1 => /lib/libcap.so.1 (0x0066a000)
libpthread.so.0 => /lib/libpthread.so.0 (0x005b6000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x008d4000)
libz.so.1 => /usr/lib/libz.so.1 (0x00616000)
libm.so.6 => /lib/libm.so.6 (0x005eb000)
libc.so.6 => /lib/libc.so.6 (0x0040c000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x0066e000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00d22000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00407000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00ad1000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00380000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00383000)
/lib/ld-linux.so.2 (0x003e8000)
libselinux.so.1 => /lib/libselinux.so.1 (0x00d7a000)
libsepol.so.1 => /lib/libsepol.so.1 (0x00cda000)
undefined symbol: isc__task_send (/usr/lib/libisccc.so.80)
undefined symbol: isc___mem_get (/usr/lib/libisccc.so.80)
undefined symbol: isc___mem_put (/usr/lib/libisccc.so.80)
undefined symbol: isc__socket_recv (/usr/lib/libisccc.so.80)
undefined symbol: isc__socket_cancel (/usr/lib/libisccc.so.80)
undefined symbol: cfg_acl_fromconfig (/usr/lib/libbind9.so.80)
undefined symbol: isc___mem_free (/usr/lib/libbind9.so.80)
undefined symbol: isc_net_probeipv4 (/usr/lib/libbind9.so.80)
undefined symbol: isc___mem_strdup (/usr/lib/libbind9.so.80)
undefined symbol: isc___mem_get (/usr/lib/libbind9.so.80)
undefined symbol: isc_net_probeipv6 (/usr/lib/libbind9.so.80)
undefined symbol: cfg_aclconfctx_detach (/usr/lib/libbind9.so.80)
undefined symbol: cfg_aclconfctx_create (/usr/lib/libbind9.so.80)
undefined symbol: isc___mem_put (/usr/lib/libbind9.so.80)
undefined symbol: isc_commandline_index (/usr/sbin/named-checkconf)
undefined symbol: isc_commandline_option (/usr/sbin/named-checkconf)
undefined symbol: isc_commandline_argument (/usr/sbin/named-checkconf)
undefined symbol: cfg_type_namedconf (/usr/sbin/named-checkconf)
undefined symbol: isc_commandline_errprint (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_load (/usr/sbin/named-checkconf)
undefined symbol: isc_entropy_create (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_setclass (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_setfile2 (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_setchecksrv (/usr/sbin/named-checkconf)
undefined symbol: isc___mem_free (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_dumptostream2 (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_setcheckns (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_detach (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_create (/usr/sbin/named-checkconf)
undefined symbol: isc___mem_strdup (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_setoption (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_setorigin (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_log (/usr/sbin/named-checkconf)
undefined symbol: isc_commandline_parse (/usr/sbin/named-checkconf)
undefined symbol: isc__mem_destroy (/usr/sbin/named-checkconf)
undefined symbol: isc_entropy_detach (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_setcheckmx (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_settype (/usr/sbin/named-checkconf)
undefined symbol: isc__mem_create (/usr/sbin/named-checkconf)
undefined symbol: dns_zone_setdbtype (/usr/sbin/named-checkconf)
Thanks for any tips.
More information about the dhcp-users
mailing list