Mattias Andersson
2004-Aug-19 12:51 UTC
[Samba] Compiling Samba and kerberos, lib problems
I compiled kerberos 1.3.4 with these options: --prefix=/usr/local/kerberos/ --enable-dns --disable-krb4 --enable-shared Then I compiled samba 3.0.5 with these: --prefix=/usr/local/samba --with-krb5=/usr/local/kerberos/ Everything seemed fine and I did: make install. But I get this message when I manually try to start smbd: ./smbd: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory If I run this command: ls -l /usr/local/kerberos/lib/libgssapi_krb5.so.2* I get: lrwxrwxrwx 1 root root 21 Aug 12 12:07 /usr/local/kerberos/lib/libgssapi_krb5.so.2 -> libgssapi_krb5.so.2.2 -rw-r--r-- 1 root root 781823 Aug 12 12:07 /usr/local/kerberos/lib/libgssapi_krb5.so.2.2 So the lib seems to be in place. Help? Thanks, Mattias
Gerald (Jerry) Carter
2004-Aug-19 13:11 UTC
[Samba] Compiling Samba and kerberos, lib problems
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mattias Andersson wrote: | I compiled kerberos 1.3.4 with these options: | --prefix=/usr/local/kerberos/ --enable-dns | --disable-krb4 --enable-shared | | Then I compiled samba 3.0.5 with these: --prefix=/usr/local/samba | --with-krb5=/usr/local/kerberos/ | | Everything seemed fine and I did: make install. | | But I get this message when I manually try to start smbd: | ./smbd: error while loading shared libraries: libgssapi_krb5.so.2: | cannot open shared object file: No such file or directory You don't say what server os. If you are using linux, then just add /usr/local/kerberos/lib/ to /etc/ld.so.conf. 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 iD8DBQFBJKb/IR7qMdg1EfYRAuKOAJ9Jb2RWDMEI6WgcyiF1rtqjTnka0QCglK+4 b86tpWICEDOA2PPl0VctkMc=gtYy -----END PGP SIGNATURE-----