[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LD_LIBRARY_PATH for make test

Michael Ströder wrote:
> Hallvard B Furuseth wrote:
>> Only append the ":" if LD_LIBRARY_PATH is already set, otherwise I
>> suppose you in practice include "." the path.  Also, include slapi:
>> LD_LIBRARY_PATH=$TESTWD/../libraries/liblber/.libs:$TESTWD/../libraries/libldap/.libs:$TESTWD/../libraries/libldap_r/.libs:$TESTWD/../servers/slapd/slapi/.libs${LD_LIBRARY_PATH+':'}${LD_LIBRARY_PATH} export LD_LIBRARY_PATH
> Seems to work (at least until test002)...

According to a message received off-list this seems to be
misunderstanding: I've just let "make test" run until test002 to check
whether the LD_LIBRARY_PATH line suggested by Hallvard works since it
would fail right in test000 if the pre-installed libs are used from
/usr/lib instead of the libs in the build tree.

Ciao, Michael.