[Date Prev][Date Next]
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.
-- 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/