[Date Prev][Date Next]
Re: (ITS#5929) 'make test' uses installed libldap_r/liblber
Hallvard B Furuseth wrote:
> firstname.lastname@example.org 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?
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/