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

Re: (ITS#3809) db library detection procedure



"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> writes:

[...]

>>I'm not sure your explanation is enough to justify the following
>>lines:
>>
>>------------------------------------------------------------------------
>>$ sudo apt-get install libdb4.3
>>#
>># Now on the system are present both db-4.2.52 (under /opt/foo) and
>># db-4.3 (under /usr/).
>>#
>>$ export LD_LIBRARY_PATH=/opt/foo/lib
>>$ export CPPFLAGS=-I/opt/foo/include/
>>$ export LDFLAGS=-L/opt/foo/lib
>>$ ./configure

[...]

> This environment is not proper.  A 4.3.28 version of db.h
> should have been provided (first) to go along with 4.3.27
> version of -ldb-4.3.

4.3.28 is installed on the system to satisfy dependencies not related
to OpenLDAP software.  I'm not trying to link OpenLDAP with 4.3.28 but
with 4.2.52.

db-4.2.52 is installed under /opt/foo and following the usual semantic
of the -I switch I do not understand how the compiler is supposed to
find the 4.3.28's db.h.

I can't see *why* the system is misconfigured :-)

regards
walter





    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497