Missing a library? Which RPM should be installed to get the lib?

0 Likes

Your system is missing a library. But which package do you have to install?

At first search the complete path of the lib. You have to get all paths and filter them with grep because rpm uses the full path to give you an answer. So we try 'all'.

#: rpm -qla | grep libldapx
/opt/novell/eDirectory/lib64/nds-modules/libldapxs.so
/opt/novell/eDirectory/lib64/nds-modules/libldapxs.so.0
/opt/novell/eDirectory/lib64/nds-modules/libldapxs.so.0.0.0
/opt/novell/eDirectory/lib64/libldapx.so
/opt/novell/eDirectory/lib64/libldapx.so.0
/opt/novell/eDirectory/lib64/libldapx.so.0.0.0
/opt/novell/eDirectory/lib/libldapx.so
/opt/novell/eDirectory/lib/libldapx.so.0
/opt/novell/eDirectory/lib/libldapx.so.0.0.0
/opt/novell/eDirectory/lib/nds-modules/libldapxs.so
/opt/novell/eDirectory/lib/nds-modules/libldapxs.so.0
/opt/novell/eDirectory/lib/nds-modules/libldapxs.so.0.0.0


Now we have a few potential locations. We know that extensions like .0.0 et. al. mostly means that this is only a link. So we pick: /opt/novell/eDirectory/lib/libldapx.so include the complete path ... and we get the rpm packet:

#: rpm -q --whatprovides /opt/novell/eDirectory/lib/libldapx.so.0.0.0
novell-NLDAPbase-32bit-8.8.7.4-0.4.2.10


This RPM can be installed with zypper.

#: zypper in novell-NLDAPbase-32bit-8.8.7.4-0.4.2.10


The other way is to use yast or yast2

Tags:

Labels:

How To-Best Practice
Comment List
Anonymous
Related Discussions
Recommended