[pubcookie-users] installing against kerberos in a non standard dir

Jim Fox fox at washington.edu
Fri Jul 16 10:56:20 PDT 2004



The loader looks for shared libraries from the list in /etc/ld.so.conf
(actually from a binary file derived from that).  I suspect
/usr/kerberos is in there.

You might try more exxplicitly adding to the library path, e.g.

   # export LD_LIBRARY_PATH=/usr/local/kerb/krb5-1.3.4/lib
   # ldd index.cgi

Jim


On Fri, 16 Jul 2004, caleb racey wrote:

> Date: Fri, 16 Jul 2004 18:33:35 +0100
> From: caleb racey <Caleb.Racey at newcastle.ac.uk>
> To: pubcookie-users at u.washington.edu
> Subject: [pubcookie-users] installing against kerberos in a non standard dir
> 
>
> Does anyone have a recipe for installing pubcookie against a kerberos
> install in a non standard directory.
>
> The problem in detail:
> I want to install pubcookie against *most recent* kerberos version. The
> box is redhat AS 3.0 and the latest kerb version is required in order to
> talk to windows 2003 Active directory kerb domain (problems with tcp/udp
> negotiation with previous versions of kerb).
> I don't want to overwrite the default kerberos install that comes with
> redhat as it may be used by other applications.
> Therefore I'm installing kerberos in /usr/local/kerb/krb5-1.3.4/
>
> I configure with
> ./configure --prefix=/usr/local/pubcookie/ \
> --enable-login \
> --enable-krb5 \
> --with-krb5-dir=/usr/local/kerb/krb5-1.3.4 \
> --with-krb5-inc-dir=/usr/local/kerb/krb5-1.3.4/include \
> --with-krb5-lib-dir=/usr/local/kerb/krb5-1.3.4/lib \
> --with-apxs=/usr/sbin/apxs
> make
> make install
>
> but when I check what /usr/local/pubcookie/login/index.cgi is linked
> against it says its linked against the default kerberos libraries not
> thew new ones I have configured it against.
> ldd index.cgi
>        libssl.so.4 => /lib/libssl.so.4 (0xb75ae000)
>        libcrypto.so.4 => /lib/libcrypto.so.4 (0xb74bd000)
>        libdl.so.2 => /lib/libdl.so.2 (0xb74ba000)
>        libnsl.so.1 => /lib/libnsl.so.1 (0xb74a5000)
>        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0xb7446000)
>        libc.so.6 => /lib/tls/libc.so.6 (0xb730e000)
>        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3
> (0xb730c000)
>        libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2
> (0xb72f9000)
>        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3
> (0xb72e9000)
>        libresolv.so.2 => /lib/libresolv.so.2 (0xb72d7000)
>        libz.so.1 => /usr/lib/libz.so.1 (0xb72c9000)
>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb75eb000)
>
> and login doesn't work.
>
> How do you force linking against the new non standard kerberos
> libraries?
>
> Thanks in advance
> Cal
> _______________________________________________
> pubcookie-users mailing list
> pubcookie-users at u.washington.edu
> http://mailman.u.washington.edu/mailman/listinfo/pubcookie-users
>


More information about the pubcookie-users mailing list