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

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



Howard Chu wrote:
> OK, this is not a bug in libtool, it's a bug in the SuSE libdb devel RPM.

I doubt that, see below. :-/

> Your .la file says the library name is libdb-4.3.so, but your rpm
> doesn't provide that file.

There are two RPMs installed (see file listings below).

db-4.3.27-3:
Is required by many other packages and contains /usr/lib/libdb-4.3.so
and /usr/lib/tls/libdb-4.3.so

db-devel-4.3.27-3:
Is optional and contains the BDB header files *.h and libdb*.a and
libdb*.la. Obviously it's required to compile OpenLDAP from source.

Hmm, could compat-2004.11.13-3 be also relevant? It contains the BDB 3
shared libs.

> Since libtool cannot find the shared library
> it was looking for, it is forced to fallback to the static library.

$ ls -al /usr/lib/libdb-4.3.so
-rwxr-xr-x  1 root root 948584 Mar 19 18:40 /usr/lib/libdb-4.3.so*

> You can either symlink the correct names, or put the correct names
> into the .la file.

To me everything seems to be in place. I can't imagine what I should fix
on my system. Remember that it used to work before updating libtool in
HEAD a couple of days ago and it still works with OPENLDAP_REL_ENG_2_3.
How do you explain that?

> This ITS will be closed...

Hmm...

Ciao, Michael.

# rpm -ql db
/usr/lib/libdb-4.3.so
/usr/lib/libdb-4.so
/usr/lib/libdb_cxx-4.3.so
/usr/lib/libdb_cxx-4.so
/usr/lib/tls
/usr/lib/tls/libdb-4.3.so
/usr/lib/tls/libdb-4.so
/usr/lib/tls/libdb_cxx-4.3.so
/usr/lib/tls/libdb_cxx-4.so
[..snipped /usr/share/doc/*..]
# rpm -ql db-devel
/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
[..snipped /usr/share/doc/*..]

# ls -al /usr/lib/libdb*|grep -v dbus
-rwxr-xr-x  1 root root   56836 Mar 19 20:06 /usr/lib/libdb-1.85.so
-rwxr-xr-x  1 root root  512704 Feb 17  2002 /usr/lib/libdb-3.1.so
-rwxr-xr-x  1 root root  591100 Feb 17  2002 /usr/lib/libdb-3.3.so
-rw-r--r--  1 root root 1261822 Mar 19 18:40 /usr/lib/libdb-4.3.a
-rw-r--r--  1 root root     799 Mar 19 18:34 /usr/lib/libdb-4.3.la
-rwxr-xr-x  1 root root  948584 Mar 19 18:40 /usr/lib/libdb-4.3.so
lrwxrwxrwx  1 root root      12 Apr 21 23:28 /usr/lib/libdb-4.so ->
libdb-4.3.so
-rw-r--r--  1 root root 1261822 Mar 19 18:40 /usr/lib/libdb.a
lrwxrwxrwx  1 root root      12 Apr 21 23:30 /usr/lib/libdb.so ->
libdb-4.3.so
lrwxrwxrwx  1 root root      13 Apr 21 23:30 /usr/lib/libdb.so.2 ->
libdb-1.85.so
-rwxr-xr-x  1 root root  264708 Mar 19 20:07 /usr/lib/libdb.so.3
-rw-r--r--  1 root root 1398530 Mar 19 18:40 /usr/lib/libdb_cxx-4.3.a
-rw-r--r--  1 root root     860 Mar 19 18:35 /usr/lib/libdb_cxx-4.3.la
-rwxr-xr-x  1 root root 1046468 Mar 19 18:40 /usr/lib/libdb_cxx-4.3.so
lrwxrwxrwx  1 root root      16 Apr 21 23:28 /usr/lib/libdb_cxx-4.so ->
libdb_cxx-4.3.so
-rw-r--r--  1 root root 1398530 Mar 19 18:40 /usr/lib/libdb_cxx.a
lrwxrwxrwx  1 root root      16 Apr 21 23:30 /usr/lib/libdb_cxx.so ->
libdb_cxx-4.3.so