[Date Prev][Date Next]
RE: configure: error: Berkeley DB version mismatch
- To: <firstname.lastname@example.org>
- Subject: RE: configure: error: Berkeley DB version mismatch
- From: "Tay, Gary" <Gary_Tay@platts.com>
- Date: Thu, 16 Sep 2004 15:00:56 +0800
- Cc: "Openldap list" <openldap-software@OpenLDAP.org>
- Content-class: urn:content-classes:message
- Thread-index: AcSbusLRac0R3pydQlGyIVMf+tHvqAAABzdg
- Thread-topic: configure: error: Berkeley DB version mismatch
# ldd <executable>
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Cameron Gregg
Sent: Thursday, September 16, 2004 2:43 PM
Cc: Openldap list
Subject: Re: configure: error: Berkeley DB version mismatch
Cameron Gregg wrote:
> Tony Earnshaw wrote:
>> ons, 15.09.2004 kl. 03.55 skrev Kurt D. Zeilenga: [...]
>>> configure is looking for the library version to match the header
>>> version (and, subsequently, for that version to be appropriate).
>> Indeed ... I never did GNU compiles on Solaris, but FWIW I get
>> exactly the same error as Greg when compiling Openldap source on
>> RedHat RHAS/RHEL3 unless I put /path/to/BerkeleyDB.4.2/lib into
>> /etc/ld.so.conf and run ldconfig, even though I give the LDFLAGS path
>> to configure. Perhaps if I included -ldb-4.2 to link against work; as
>> it is, I use ld.so.conf.
>> Does Solaris have any similar library definition config arrangement?
> yes. crle
> # crle
> Configuration file : /var/ld/ld.config Default Library Path (ELF):
> /usr/lib:/usr/local/lib Trusted Directories (ELF): /usr/lib/secure
> (system default)
> Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib
YES!!!!! adding it to the system library path worked. Thank you!
Configuration file : /var/ld/ld.config
Default Library Path (ELF):
Trusted Directories (ELF): /usr/lib/secure (system default)
crle -c /var/ld/ld.config -l
make is executing as I write this :-)
Slighty off topic, can anyone remember the program on solaris you can
run that shows the libraries that an executable is linked to?
it's used like so:
Thanks to everyone for their help.