Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-13-2010, 07:50 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2009
Location: Brisbane, OZ
Distribution: Slackware, Fedora and Debian
Posts: 9
Rep:
|
smbpasswd cannot find installed library libwbclient.so.0
Hello I am using Slackware 13.1 with the uname -a output:
Quote:
|
Linux darkstar 2.6.33.4 #2 Thu May 13 00:27:45 CDT 2010 i686 Intel(R) Atom(TM) CPU N450 @ 1.66GHz GenuineIntel GNU/Linux
|
When the binary smbpasswd is executed it gives the following output
Quote:
|
smbpasswd: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: no such file or directory
|
ldd /usr/local/samba/bin/smbpasswd has this output
Quote:
linux-gate.so.1 => (0xffffe000)
libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0xb7220000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb7214000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb71fd000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb71e4000)
libdl.so.2 => /lib/libdl.so.2 (0xb71df000)
libpopt.so.0 => /lib/libpopt.so.0 (0xb71d8000)
libwbclient.so.0 => not found
libz.so.1 => /usr/lib/libz.so.1 (0xb71c4000)
libc.so.6 => /lib/libc.so.6 (0xb7061000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7049000)
libssl.so.0 => /lib/libssl.so.0 (0xb7001000)
libcrypto.so.0 => /lib/libcrypto.so.0 (0xb6eb9000)
/lib/ld-linux.so.2 (0xb7286000)
|
The find command locates the missing library at
Quote:
|
/usr/local/samba/lib/libwbclient.so.0
|
I do not know how to direct the binary to the missing library.
Any help would be greatly appreciated 
|
|
|
|
12-13-2010, 06:20 PM
|
#2
|
|
Member
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835
Rep:
|
Hmm. Sounds like it wasn't installed properly. Hopefully that's your only problem.
Try:
Code:
ln -s /usr/local/samba/lib/libwbclient.so.0 /usr/lib/libwbclient.so.0
That's where it goes in Debian, I don't know about Slackware.
Where are those other libraries on your system? On mine they're in /usr/lib. If they're somewhere else on your system, adjust the ln command accordingly.
|
|
|
1 members found this post helpful.
|
12-13-2010, 07:42 PM
|
#3
|
|
LQ Newbie
Registered: Jul 2009
Location: Brisbane, OZ
Distribution: Slackware, Fedora and Debian
Posts: 9
Original Poster
Rep:
|
That fixed the problem but I'm still wondering why it was necessary because I compiled samba-3.5.6 from source and that is just where the library was placed. curious??
Thanks for the help gd2shoe 
|
|
|
|
12-13-2010, 07:45 PM
|
#4
|
|
Member
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835
Rep:
|
I don't know. Seems odd to me too. You're welcome.
|
|
|
|
12-13-2010, 10:40 PM
|
#5
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
That's not a slackware package, is it ... slacks samba doesn't
live under /usr/local. How did you install samba?
Cheers,
Tink
|
|
|
|
12-18-2010, 03:17 AM
|
#6
|
|
LQ Newbie
Registered: Jul 2009
Location: Brisbane, OZ
Distribution: Slackware, Fedora and Debian
Posts: 9
Original Poster
Rep:
|
It was installed from the samba-3.5.6 source code acquired from samba.org, just using "./configure" and "make install" commands in the source3 directory of the extracted package.
ciesar
|
|
|
|
12-18-2010, 09:45 AM
|
#7
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,626
|
The default samba for Slackware 13.1 is version 3.5.2.
'samba-3.5.2-* is on the install DVD // cd disk 1.
Some binaries are hard coded to look in /usr/lib(:/lib) only.
That may be the issue with 'smbpasswd'.
( And may be also with your other samba executables.)
If you want a later version, the best ( and most correct ) solution is ..
Use the samba-3.5.6 Slackbuild from Slackware-current :
ftp://ftp.slackware.org.uk/slackware...ource/n/samba/
Last edited by knudfl; 12-18-2010 at 09:56 AM.
|
|
|
|
12-22-2010, 12:05 AM
|
#8
|
|
LQ Newbie
Registered: Jul 2009
Location: Brisbane, OZ
Distribution: Slackware, Fedora and Debian
Posts: 9
Original Poster
Rep:
|
I will be sure to do that in the future,
Thanks Knudfl
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:06 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|