samba libtalloc.so.1 : cannot open shared object file: no such file or directory

I am trying to install samba-3.2.1 from source.

To give a short background, I download the src zip and unpack it to local.

go into the file and run a
./autogen.sh
./configure --with-winbind --prefix=/usr/local/samba --with-smbwrapper --with-pam --with-pam-smbpass
make
make install

When I try to run
/usr/local/samba/sbin/smbd -D
I get this message
Error while loading shared libraries : libtalloc.so.1 : cannot open shared object file: no such file or directory


I searched online and found this solution, which sounds like they know what they are talking about..only problem is..I dont!

http://lists-archives.org/samba/39218-re-re-libtalloc-on-samba-3-2-0.html

Can anybody decode their advice and tell me in "I think your an idiot" terms?


解决办法:

$ cd /var/samba/lib
$ ln -s libtalloc.so libtalloc.so.1
$ ln -s libtdb.so libtdb.so.1
$ ln -s libwbclient.so libwbclient.so.0
$ export LD_LIBRARY_PATH=/var/samba/lib

--with-static-libs could work, but try this solution.

你可能感兴趣的:(故障处理)