hyc(a)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.
--
Hallvard