This seems to be either an issue with maverick or with the PPA sources.
I upgraded to natty (the dev version) and built samba from the GIT sources,
it seems to be fine now...
On Thu, Jan 20, 2011 at 4:14 PM, Andrew Dumaresq <dumaresq at gmail.com>
wrote:
> Hi,
>
> I've just done a fresh install of ubuntu maverick, I added the PPA
sources
> deb http://ppa.launchpad.net/samba-team/ppa/ubuntu maverick main
> deb-src http://ppa.launchpad.net/samba-team/ppa/ubuntu maverick main
>
> installed Samba4....
>
> For some reason samba can't find libwbclient
>
> root at morannon:/etc/apt/sources.list.d# ldd -d -r /usr/sbin/samba
> linux-vdso.so.1 => (0x00007fff0dbff000)
> libsamba-util.so.0 => /usr/lib/libsamba-util.so.0
> (0x00007f2229b84000)
> libauth.so => /usr/lib/samba/libauth.so (0x00007f2229971000)
> libcluster.so => /usr/lib/samba/libcluster.so
(0x00007f222976d000)
> libsamba-hostconfig.so.0 => /usr/lib/libsamba-hostconfig.so.0
> (0x00007f2229557000)
> libcredentials.so => /usr/lib/samba/libcredentials.so
> (0x00007f2229344000)
> libldbsamba.so => /usr/lib/samba/libldbsamba.so
> (0x00007f2229119000)
> libservice.so => /usr/lib/samba/libservice.so
(0x00007f2228f0b000)
> libntvfs.so => /usr/lib/samba/libntvfs.so (0x00007f2228ca2000)
> libndr.so.0 => /usr/lib/libndr.so.0 (0x00007f2228a89000)
> libprocess_model.so => /usr/lib/samba/libprocess_model.so
> (0x00007f2228886000)
> libevents.so => /usr/lib/samba/libevents.so (0x00007f2228684000)
> libgensec.so.0 => /usr/lib/libgensec.so.0 (0x00007f2228459000)
> libdcerpc.so.0 => /usr/lib/libdcerpc.so.0 (0x00007f222818b000)
> liberrors.so => /usr/lib/samba/liberrors.so (0x00007f2227f06000)
> libsamdb.so.0 => /usr/lib/libsamdb.so.0 (0x00007f2227cf1000)
> libndr-samba4.so => /usr/lib/samba/libndr-samba4.so
> (0x00007f22278fa000)
> libsamdb-common.so => /usr/lib/samba/libsamdb-common.so
> (0x00007f22276d4000)
> libroken.so.18 => /usr/lib/libroken.so.18 (0x00007f22274bf000)
> libldb.so.0 => /usr/lib/libldb.so.0 (0x00007f2227287000)
> libtalloc.so.2 => /usr/lib/libtalloc.so.2 (0x00007f222707c000)
> libpopt.so.0 => /lib/libpopt.so.0 (0x00007f2226e6f000)
> libtevent.so.0 => /usr/lib/libtevent.so.0 (0x00007f2226c63000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2226a46000)
> libc.so.6 => /lib/libc.so.6 (0x00007f22266c2000)
> librt.so.1 => /lib/librt.so.1 (0x00007f22264ba000)
> libwbclient.so => not found
> libsamba-sockets.so => /usr/lib/samba/libsamba-sockets.so
> (0x00007f222629f000)
> libdcerpc-samba4.so => /usr/lib/samba/libdcerpc-samba4.so
> (0x00007f2226099000)
> libcli-ldap.so => /usr/lib/samba/libcli-ldap.so
> (0x00007f2225e81000)
> libsecurity.so => /usr/lib/samba/libsecurity.so
> (0x00007f2225c63000)
> libauthkrb5.so => /usr/lib/samba/libauthkrb5.so
> (0x00007f2225a48000)
> libpam.so.0 => /lib/libpam.so.0 (0x00007f222583b000)
> libtdb-wrap.so => /usr/lib/samba/libtdb-wrap.so
> (0x00007f2225637000)
> libdl.so.2 => /lib/libdl.so.2 (0x00007f2225433000)
> libgssapi-samba4.so.2 => /usr/lib/samba/libgssapi-samba4.so.2
> (0x00007f22251f2000)
> libkrb5-samba4.so.26 => /usr/lib/samba/libkrb5-samba4.so.26
> (0x00007f2224e9a000)
> libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f2224c96000)
> libtdb.so.1 => /usr/lib/libtdb.so.1 (0x00007f2224a86000)
> libndr-samba.so => /usr/lib/samba/libndr-samba.so
> (0x00007f2224767000)
> libwrap_xattr.so => /usr/lib/samba/libwrap_xattr.so
> (0x00007f2224564000)
> libshares.so => /usr/lib/samba/libshares.so (0x00007f222435b000)
> libcli-nbt.so => /usr/lib/samba/libcli-nbt.so
(0x00007f222414e000)
> libndr-standard.so.0 => /usr/lib/libndr-standard.so.0
> (0x00007f2223b9d000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f2223964000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x00007f222374a000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f2229dba000)
> libnetif.so => /usr/lib/samba/libnetif.so (0x00007f2223546000)
> libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007f22232cd000)
> libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f222302b000)
> libasn1.so.8 => /usr/lib/libasn1.so.8 (0x00007f2222d9d000)
> libhx509.so.5 => /usr/lib/libhx509.so.5 (0x00007f2222b57000)
> libwind.so.0 => /usr/lib/libwind.so.0 (0x00007f222292e000)
> libz.so.1 => /lib/libz.so.1 (0x00007f2222715000)
> libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007f2222511000)
> libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f22222ff000)
> libhcrypto.so.4 => /usr/lib/libhcrypto.so.4 (0x00007f22220cc000)
> undefined symbol: wbcErrorString (/usr/lib/samba/libauth.so)
> undefined symbol: wbcFreeMemory (/usr/lib/samba/libauth.so)
> undefined symbol: wbcAuthenticateUserEx (/usr/lib/samba/libauth.so)
>
>
> I find this odd as:
>
> ls -l /usr/lib/libwbclient.so.0
> -rw-r--r-- 1 root root 100240 2011-01-07 04:55 /usr/lib/libwbclient.so.0
>
> ldconfig -v |grep libwb
> libwbclient.so.0 -> libwbclient.so.0
>
>
> What am I missing?
>
> Thanks
> --Andrew
>