[Samba] missing symbols talloc_* (opensuse 11.4/samba 3.5.7-xxx)
simo
idra at samba.org
Fri Jun 3 16:29:20 MDT 2011
On Fri, 2011-06-03 at 09:27 -0700, Linda Walsh wrote:
> I just recently upgraded to opensuse 11.4.
>
> basic smbd is running mostly fine (some name res-errors, login server missing, (can't connect to Domain service). Notably nmbd won't start due
> to undefined symbols:
>
> /usr/sbin/nmbd: symbol lookup error: /usr/sbin/nmbd: undefined symbol: _talloc_realloc_array.
>
> ldd -r shows a bunch of similar undefined symbols (shown further below).
>
> my samba rpm is samba-3.5.7-1.17.1.x86_64.
>
> My package versions:
> > rpm -qa --qf "%-40{NVR}\t%{DISTRIBUTION}\n" |sort|grp 'sa?mb|cif|alloc|wbcl'
> cifs-utils-4.6-3.6.1 openSUSE 11.4
> fusesmb-0.8.7-110.1 openSUSE 11.4
> ldapsmb-1.34b-298.17.1 openSUSE 11.4
> libsmbclient0-32bit-3.5.7-1.17.1 openSUSE 11.4
> libsmbclient0-3.5.7-1.17.1 openSUSE 11.4
> libsmbios2-2.0.2-21.1 openSUSE 11.4
> libsmbios-bin-2.0.2-21.1 openSUSE 11.4
> libtalloc2-2.0.1-2.17.1 openSUSE 11.4
> libtalloc2-32bit-2.0.1-2.17.1 openSUSE 11.4
> libwbclient0-32bit-3.5.7-1.17.1 openSUSE 11.4
> libwbclient0-3.5.7-1.17.1 openSUSE 11.4
> pam_smb-2.0.0rc6-160.1 openSUSE 11.4
> pam_smb-32bit-2.0.0rc6-160.1 openSUSE 11.4
> python-smbc-1.0.10-4.1 openSUSE 11.4
> samba-32bit-3.5.7-1.17.1 openSUSE 11.4
> samba-3.5.7-1.17.1 openSUSE 11.4
> samba-client-32bit-3.5.7-1.17.1 openSUSE 11.4
> samba-client-3.5.7-1.17.1 openSUSE 11.4
> samba-doc-3.5.7-1.17.1 openSUSE 11.4
> samba-krb-printing-3.5.7-1.17.1 openSUSE 11.4
> samba-winbind-32bit-3.5.7-1.17.1 openSUSE 11.4
> samba-winbind-3.5.7-1.17.1 openSUSE 11.4
> smb4k-0.10.9-3.1 openSUSE 11.4
> smb4k-doc-0.10.9-3.1 openSUSE 11.4
> smb4k-lang-0.10.9-3.1 openSUSE 11.4
> xmms2-plugin-samba-0.7-14.2 openSUSE 11.4
> yast2-samba-client-2.20.2-3.1 openSUSE 11.4
> yast2-samba-server-2.20.2-3.1 openSUSE 11.4
> ----
>
>
> The missing symbols (and libs being tried when loading nmbd):
>
> > ldd -r /usr/sbin/nmbd
> linux-vdso.so.1 => (0x00007fffe1bf9000)
> libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fc6d5f9c000)
> libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fc6d5d84000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00007fc6d5b80000)
> libwbclient.so.0 => /lib64/libwbclient.so.0 (0x00007fc6d5962000)
> libpopt.so.0 => /lib64/libpopt.so.0 (0x00007fc6d5756000)
> libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007fc6d5520000)
> libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007fc6d5255000)
> libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007fc6d502d000)
> libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fc6d4e29000)
> libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007fc6d4be2000)
> liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007fc6d49d3000)
> libz.so.1 => /lib64/libz.so.1 (0x00007fc6d47bb000)
> libc.so.6 => /lib64/libc.so.6 (0x00007fc6d444e000)
> /lib64/ld-linux-x86-64.so.2 (0x00007fc6d61b3000)
> libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007fc6d4245000)
> libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fc6d4042000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc6d3e25000)
> libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fc6d3c0a000)
> libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007fc6d39ae000)
> libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007fc6d35fd000)
> undefined symbol: _talloc_memdup (/usr/sbin/nmbd)
> undefined symbol: talloc_vasprintf (/usr/sbin/nmbd)
> undefined symbol: talloc_asprintf (/usr/sbin/nmbd)
> undefined symbol: talloc_strndup (/usr/sbin/nmbd)
> undefined symbol: talloc_named (/usr/sbin/nmbd)
> undefined symbol: _talloc_free (/usr/sbin/nmbd)
> undefined symbol: _talloc_array (/usr/sbin/nmbd)
> undefined symbol: _talloc_reference_loc (/usr/sbin/nmbd)
> undefined symbol: talloc_pool (/usr/sbin/nmbd)
> undefined symbol: talloc_init (/usr/sbin/nmbd)
> undefined symbol: talloc_get_name (/usr/sbin/nmbd)
> undefined symbol: talloc_strdup (/usr/sbin/nmbd)
> undefined symbol: talloc_set_name (/usr/sbin/nmbd)
> undefined symbol: _talloc_zero (/usr/sbin/nmbd)
> undefined symbol: _talloc_steal_loc (/usr/sbin/nmbd)
> undefined symbol: talloc_report_depth_cb (/usr/sbin/nmbd)
> undefined symbol: talloc_asprintf_append_buffer (/usr/sbin/nmbd)
> undefined symbol: talloc_reference_count (/usr/sbin/nmbd)
> undefined symbol: talloc_vasprintf_append_buffer (/usr/sbin/nmbd)
> undefined symbol: _talloc_realloc_array (/usr/sbin/nmbd)
> undefined symbol: _talloc_zero_array (/usr/sbin/nmbd)
> undefined symbol: talloc_set_name_const (/usr/sbin/nmbd)
> undefined symbol: _talloc_realloc (/usr/sbin/nmbd)
> undefined symbol: talloc_asprintf_append (/usr/sbin/nmbd)
> undefined symbol: talloc_get_size (/usr/sbin/nmbd)
> undefined symbol: talloc_total_size (/usr/sbin/nmbd)
> undefined symbol: talloc_set_log_fn (/usr/sbin/nmbd)
> undefined symbol: talloc_set_abort_fn (/usr/sbin/nmbd)
> undefined symbol: talloc_total_blocks (/usr/sbin/nmbd)
> undefined symbol: talloc_autofree_context (/usr/sbin/nmbd)
> undefined symbol: _talloc_move (/usr/sbin/nmbd)
> undefined symbol: talloc_named_const (/usr/sbin/nmbd)
> undefined symbol: talloc_check_name (/usr/sbin/nmbd)
> undefined symbol: _talloc_get_type_abort (/usr/sbin/nmbd)
> undefined symbol: _talloc_set_destructor (/usr/sbin/nmbd)
>
>
>
>
> Any ideas as to what library i'm missing?
Looks like nmbd is not being linked against libtalloc.
Simo.
> Prior to this I was running w/a self-built version installed into
> the standard opensuse locations.
>
> Thanks!
> Linda
>
>
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba
mailing list