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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby linuxdad » Jan 23rd, '14, 03:54

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.
Last edited by linuxdad on Jan 23rd, '14, 05:29, edited 1 time in total.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

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

Postby linuxdad » Jan 23rd, '14, 05:28

And the Answer is:

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


Putting this in the devtools/Site/site.config.m4 resolves the missing library.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest