| View previous topic :: View next topic |
| Author |
Message |
kiboko n00b


Joined: 29 May 2003 Posts: 56
|
Posted: Wed Jul 01, 2009 6:08 pm Post subject: samba and libwbclient.so.0 errors [solved] |
|
|
I have net-fs/samba-3.2.13 installed and unable to start it.
| Code: | # smbd
smbd: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory
| ldd reports
| Code: | # ldd /usr/sbin/smbd
linux-vdso.so.1 => (0x00007fff77f4d000)
libldap-2.3.so.0 => /usr/lib64/libldap-2.3.so.0 (0x00007f286f467000)
liblber-2.3.so.0 => /usr/lib64/liblber-2.3.so.0 (0x00007f286f258000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007f286f029000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007f286ed88000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007f286eb5d000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f286e959000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f286e742000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f286e53e000)
libcups.so.2 => /usr/lib64/libcups.so.2 (0x00007f286e303000)
libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007f286e0a9000)
libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007f286dd0f000)
libz.so.1 => /lib/libz.so.1 (0x00007f286daf8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f286d8dc000)
libm.so.6 => /lib/libm.so.6 (0x00007f286d659000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f286d421000)
libpam.so.0 => /lib/libpam.so.0 (0x00007f286d213000)
libacl.so.1 => /lib/libacl.so.1 (0x00007f286d00a000)
libattr.so.1 => /lib/libattr.so.1 (0x00007f286ce04000)
libcap.so.2 => /lib/libcap.so.2 (0x00007f286cbfe000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007f286c9e6000)
libdns_sd.so.1 => /usr/lib64/libdns_sd.so.1 (0x00007f286c7dd000)
libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007f286c5d3000)
libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007f286c3ca000)
libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007f286c1bc000)
libwbclient.so.0 => not found
libc.so.6 => /lib/libc.so.6 (0x00007f286be61000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007f286bc58000)
/lib64/ld-linux-x86-64.so.2 (0x00007f286f6a4000)
libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00007f286ba46000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f286b806000)
libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x00007f286b5f9000)
| showing that libwbclient.so.0 is not found. A look at the package install via equery reveals that libwbclient is being installed:
| Code: | # equery f net-fs/samba|grep libwbclient.so.0
/usr/lib64/samba/libwbclient.so.0
|
So what has broken ldd such that it cannot find libwbclient? I cannot tell if libwbclient being installed in /usr/lib64/samba is the right place, as looking over /etc/ld.so.conf show that /usr/lb64/samba is searched by ldd. So hows was this working before?
I even downgraded to net-fs/samba-3.2.11 and found the same results, so something recently changed since samba has been working fine until recently. There are no files in /etc/env.d that add an LDPATH for /usr/lib64/samba and I do not know if one was is needed or how it's supposed to work.
My samba USE flags are
| Code: | # equery u net-fs/samba
* Searching for net-fs/samba ...
[ Legend : U - flag is set in make.conf ]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for net-fs/samba-3.2.13:
U I
+ + acl : Adds support for Access Control Lists
+ - ads : Enable Active Directory support
- - async : Enables asynchronous input/output
+ - automount : Enables automount support
+ + caps : Use Linux capabilities library to control privilege
+ + cups : Add support for CUPS (Common Unix Printing System)
+ + doc : Adds extra documentation (API, Javadoc, etc)
- - examples : Install examples, usually source code
+ + fam : Enable FAM (File Alteration Monitor) support
+ + ipv6 : Adds support for IP version 6
+ + kernel_linux : KERNEL setting for system using the Linux kernel
+ + ldap : Adds LDAP support (Lightweight Directory Access Protocol)
- - linguas_ja : Japanese locale
- - linguas_pl : Polish locale
+ + pam : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
- - quotas : Enables support for user quotas
+ + readline : Enables support for libreadline, a GNU line-editing library that almost everyone wants
- - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
+ - swat : Enables support for swat configuration gui
- - syslog : Enables support for syslog
+ - winbind : Enables support for the winbind auth daemon |
Suggestions welcome.
Last edited by kiboko on Thu Jul 02, 2009 5:57 am; edited 1 time in total |
|
| Back to top |
|
 |
kiboko n00b


Joined: 29 May 2003 Posts: 56
|
Posted: Thu Jul 02, 2009 5:57 am Post subject: |
|
|
Love it when you can answer your own queries.....
It turns out that for some exotic arrangement of circumstances, my emerge sync cron job stopped working recently. After manually emerge --sync'ing I found I could upgrade to samba-3.2.13-r2 which works as it should with libwbclient installed in /usr/lib64 for my ~amd box.
I do not yet understand why samba-3.2.11 failed to work, but are happy that things are working again. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|