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

Re: ITS#3977 config.log of HEAD and OPENLDAP_REL_ENG_2_3

Michael Ströder wrote:
> Howard Chu wrote:
>> which is why I only use my own build of BDB in /usr/local. I
>> suggest removing the BDB devel rpm from your system...
> db-devel also contains the BDB include files (see below). I can see that
> compiling by own BDB would help working around this particular problem.
> But this is no real solution. Is the solution fixing libtool?

Probably; it should not be selecting the static library here. Notice - 
you have a /usr/lib/tls/libdb.a as well. The /usr/lib/tls directory is 
for the NPTL-compatible version. Oddly enough, while NPTL is the default 
thread library on SuSE 9, the stuff in /usr/lib only supports 
LinuxThreads. The dynamic linker ld.so is smart enough to find the 
correct shared libraries at runtime, but libtool doesn't know that it 
needs to look in lib/tls when linking static libraries. So I guess we 
need to look into why libtool is using the static version of an 
installed libtool library.
> Ciao, Michael.
> /usr/include/db.h
> /usr/include/db4
> /usr/include/db4/db.h
> /usr/include/db4/db_185.h
> /usr/include/db4/db_cxx.h
> /usr/include/db_185.h
> /usr/include/db_cxx.h
> /usr/lib/libdb-4.3.a
> /usr/lib/libdb-4.3.la
> /usr/lib/libdb.a
> /usr/lib/libdb.so
> /usr/lib/libdb_cxx-4.3.a
> /usr/lib/libdb_cxx-4.3.la
> /usr/lib/libdb_cxx.a
> /usr/lib/libdb_cxx.so
> /usr/lib/tls/libdb-4.3.a
> /usr/lib/tls/libdb-4.3.la
> /usr/lib/tls/libdb.a
> /usr/lib/tls/libdb.so
> /usr/lib/tls/libdb_cxx-4.3.a
> /usr/lib/tls/libdb_cxx-4.3.la
> /usr/lib/tls/libdb_cxx.a
> /usr/lib/tls/libdb_cxx.so

  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/