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

Re: Fatal error: Cannot map library libdb-4.2.so



Quanah Gibson-Mount wrote:

--On Wednesday, July 07, 2004 4:58 PM +0100 Jorge Ruão <jruao@fe.up.pt> wrote:
checking for Berkeley DB thread support... 50947:./conftest:
/sbin/loader: Fatal Error: Reference to unresolvable symbol
"pthread_mutexattr_init" in "/usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so"

This would generally mean that your libdb-4.2.so file is linked against a library that isn't in your LD_LIBRARY_PATH prior to running configure for OpenLDAP, so that compiles against that BDB file fail.

Actually, there's something deeper wrong here; libdb-4.2.so should not have any dependencies on any pthread_* functions. This BDB library has not been built correctly.
--
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support