Greetings all! I am trying to install the latest version of Samba (stable) onto a Solaris 9 test machine. I am getting errors when I try to start the deamons, but everything looks like it compiles and installs fine... The errors are: # /etc/init.d/samba.server start ld.so.1: /usr/local/samba/sbin/smbd: fatal: libpopt.so.0: open failed: No such file or directory Killed ld.so.1: /usr/local/samba/sbin/nmbd: fatal: libpopt.so.0: open failed: No such file or directory Killed The libpopt.so.0 files in /usr/local/lib are as follows: # ls -l libpopt* -rw-r--r-- 1 bin bin 137464 Jan 8 2003 libpopt.a -rwxr-xr-x 1 bin bin 827 Jan 8 2003 libpopt.la lrwxrwxrwx 1 root other 16 Oct 27 16:24 libpopt.so -> libpopt.so.0.0.0 lrwxrwxrwx 1 root other 16 Oct 27 16:24 libpopt.so.0 -> libpopt.so.0.0.0 -rwxr-xr-x 1 bin bin 134696 Jan 8 2003 libpopt.so.0.0.0 Are these correct? Please help- I am at a loss. I have just tried to compile the 3.0.7 files and get the same results. This machine was running the 3.0.2a package from Sunfreeware.com- it had no problems at all. Thanks in advance! ~Kevin =========================Kevin L. Statz University of Chicago Press Unix Systems Administration 773-702-7651 ==========================
Gerald (Jerry) Carter
2004-Nov-11 13:26 UTC
[Samba] Samba 3.0.8 compiles but fails to install
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Statz wrote: | The errors are: | | # /etc/init.d/samba.server start | ld.so.1: /usr/local/samba/sbin/smbd: fatal: libpopt.so.0: open failed: | No such file or directory | Killed | ld.so.1: /usr/local/samba/sbin/nmbd: fatal: libpopt.so.0: open failed: | No such file or directory | Killed | | | The libpopt.so.0 files in /usr/local/lib are as follows: | | # ls -l libpopt* | -rw-r--r-- 1 bin bin 137464 Jan 8 2003 libpopt.a | -rwxr-xr-x 1 bin bin 827 Jan 8 2003 libpopt.la | lrwxrwxrwx 1 root other 16 Oct 27 16:24 libpopt.so -> | libpopt.so.0.0.0 | lrwxrwxrwx 1 root other 16 Oct 27 16:24 libpopt.so.0 -> | libpopt.so.0.0.0 | -rwxr-xr-x 1 bin bin 134696 Jan 8 2003 libpopt.so.0.0.0 | | Are these correct? | | Please help- I am at a loss. add /usr/local/lib to the library search path (LD_LIBRARY_PATH, the crle tool, or compile using 'gcc -Wl,-rpath,/usr/local/lib') Or just use the --with-included-popt configure option to Samba and forget about the one in /usr/local/lib. cheers, jerry - --------------------------------------------------------------------- Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBk2hVIR7qMdg1EfYRAg4ZAJ9tzprOowc9wLYNz96zDM4P1D2iawCfZjCM c+my9if9skgRR08q41kYGcg=G/Bj -----END PGP SIGNATURE-----