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

Re: LD_LIBRARY_PATH for make test

Quanah Gibson-Mount wrote:
> --On Friday, March 20, 2009 2:01 AM +0100 Michael StrÃder
> <michael@stroeder.com> wrote:
>> 2. It's my strong opinion that if someone unpacks a release tar.gz and
>> builds it running "make test" should not conflict with an already
>> installed version of /usr/lib/libl{dap,ber}*.
>> It's quite normal that you build and test before installing the next
>> release. Isn't it? Having a separate build system without any
>> pre-installed libldap is nearly impossible today. On openSUSE even the
>> software installation tool zypper has a dependency on libldap.
> I regularly build OpenLDAP on 16 different boxes, covering 11 different
> OSes, 2 of which are OSX (10.4 and 10.5).  I have never encountered this
> issue, even though all of those 16 boxes have the ldap libraries
> installed in /usr/lib.  My files end up being linked correctly.

So then please tell me what I'm doing wrong.

Please note that
1. the build itself works correctly. Only running "make test" without
prior "make install" is the problem.
2. I'm installing under a separate prefix not /usr/lib.

Ciao, Michael.