[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5929) 'make test' uses installed libldap_r/liblber
hyc@symas.com wrote:
> Hallvard B Furuseth wrote:
>> hyc@symas.com writes:
>>>> "make test" uses installed instead of newly built libraries,
>>>> with ./configure --enable-dynamic LDFLAGS=<installed lib>.
>>> Don't do that.
>> Then what do I do? Some libraries OpenLDAP needs are there, including
>> DB 4.4. Without LDFLAGS and corresponding CPPFLAGS I get the system's
>> DB 4.3, so configure doesn't magically look in<--prefix>/lib/ on its
>> own. Or with CPPFLAGS but without LDFLAGS I get DB version mismatch.
>>
>> I don't want to require $LD_LIBRARY_PATH to be set before running
>> OpenLDAP programs, nor to mess with /etc/ld.so.conf.
>
> Note that scripts/defines.sh already explicitly sets LD_LIBRARY_PATH to point
> at the newly built libraries. What else do you expect us to do?
>
Hmm. The export in defines.sh is useless now, because build/lib-shared.mk's
rules to symlink the shared libraries into place was removed in rev 1.16.
(See the lib-shared/mk CVS log...)
Seems to me we need to reinstate those commands.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/