Page 1 of 1

[SOLVED] urpmi libdb5.3-devel - where's libdb.so?

PostPosted: Jan 23rd, '14, 03:54
by linuxdad
I am compiling the sendmail package (from source), and I am needing the libdb.so package in order to activate the NEWDB option for Sendmail.

The server install is Mageia 3 - 64-bit.

I have already instatll libdb5.3-devel:

urpmi libdb5.3-devel
Package lib64db5.3-devel-5.3.21-2.mga3.x86_64 is already installed

So the problem is that when I examine the /usr/lib/ directory for libdb.so, it does not exist.

Looking for the source:

Code: Select all
ns3.IT-Security-inc.com root
[/usr/lib] urpmf libdb.so
lib64db1:/usr/lib64/libdb.so.2
lib64db4.8-devel:/usr/lib64/libdb.so
lib64db5.3-devel:/usr/lib64/libdb.so
libdb1:/usr/lib/libdb.so.2
libdb5.3-devel:/usr/lib/libdb.so
libdb4.8-devel:/usr/lib/libdb.so


So the Sendmail package is looking for the /usr/lib/libdb.so file, which is available in libdb5.3-devel.

The problem is that libdb5.3-devel package has been replaced with the lib64db5.3-devel package.

This is a 64 bit machine, and I would like to maintain the responsiveness of the 64-bit OS.

What do I need to do in order for Sendmail to recognize the installed /usr/lib/libdb.so file?

Remove the 64bit version of libdb5.3-devel and replace it with libdb5.3-devel?

Or do I enable a link from /usr/lib64/libdb.so to /usr/lib/libdb.so?

Here's the ldconfig info for libdb.so

Code: Select all
ns3.IT-Security-inc.com root
[/usr/lib] ldconfig -v | grep libdb
ldconfig: Can't stat /libx32: No such file or directory
ldconfig: Path `/usr/lib' given more than once
ldconfig: Path `/usr/lib64' given more than once
ldconfig: Can't stat /usr/libx32: No such file or directory
        libdb_sql-5.3.so -> libdb_sql.so
        libdbus-1.so.3 -> libdbus-1.so.3.7.2
        libdbusmenu-qt.so.2 -> libdbusmenu-qt.so.2.6.0
        libdbus-glib-1.so.2 -> libdbus-glib-1.so.2.2.2
        libdb_tcl-5.3.so -> libdb_tcl.so
        libdb-5.3.so -> libdb.so
        libdb_nss-5.3.so -> libdb_nss-5.3.so
        libdb_cxx-5.3.so -> libdb_cxx.so
        libdb_java-5.3.so -> libdb_java.so


Looking for a solution. Thank you.

Re: urpmi libdb5.3-devel - where's libdb.so?

PostPosted: Jan 23rd, '14, 05:28
by linuxdad
And the Answer is:

PREPENDDEF(`confLIBSEARCHPATH', `/usr/lib64')


Putting this in the devtools/Site/site.config.m4 resolves the missing library.