[1812] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Shared library pahts in testing....

daemon@ATHENA.MIT.EDU (Ezra Peisach)
Fri Feb 23 12:19:17 1996

To: krb5-bugs@MIT.EDU
Date: Fri, 23 Feb 1996 12:19:11 EST
From: Ezra Peisach <epeisach@MIT.EDU>


Richard just made a proper change to teh sources in that the shared libraries
and executables will not refer to the build tree.

Currently, for testing procedues, LD_LIBRARY_PATH is set and used, which is
ok for many platforms, except DU....

The shared libraries are created with -rpath. -rpath will override
LD_LIBRARY_PATH. If the library does not exist at rpath, it will fall back to
LD_LIBRARY_PATH and then defaults....

Now, what will happen if you have a previous version of the shared library 
installed on the system and you run the tests - you get the installed one,
not the build one.

Solution for OSF/1 - f the environment variable _RLD_ROOT is set, _RLD_ROOT
will be prepended to all library search paths... I plan to setup in the build
tree a pseudo root heirarchy with /usr/shlib, /usr/lib, /lib, /krb5/lib (or whatever), set to look at the right place.... 

I will see if other platforms need this...

Ezra

home help back first fref pref prev next nref lref last post