On 09/19/11 05:23 PM, Vladimir Marek wrote:
Hi,

zod/builds/js155797/samba-3.5.10/components/samba/samba $ ldd
build/prototype/sparc/usr/sbin/smbd | grep liblber
         liblber-2.4.so.2 =>       /usr/lib/liblber-2.4.so.2

...library from openldap. It should not be!
Are you sure samba is linked to this library?

Absolutely:

root@s11-smb:~# ldd /usr/sbin/smbd | grep lber
        liblber-2.4.so.2 =>      (file not found)

where in /var/samba/log/log.smbd

....
[2011/09/19 08:58:56.782996,  4] libads/ldap.c:2852(ads_current_time)
  time offset is 130 seconds
[2011/09/19 08:58:56.783780,  4] libads/sasl.c:1116(ads_sasl_bind)
  Found SASL mechanism GSS-SPNEGO
ld.so.1: smbd: fatal: liblber-2.4.so.2: open failed: No such file or directory ld.so.1: smbd: fatal: relocation error: file /usr/sbin/smbd: symbol ber_bvfree: referenced symbol not found

:-(

Jura


Try

elfdump build/prototype/sparc/usr/sbin/smbd | grep NEED


liblber might be needed by some library linked to samba only ...


_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to