in reviewing the Journal files that Reporter is unable to locate libldap.so “Failed to locate LDAP library 'libldap.so'”.
On the LINUX server, running reporter, we ran the “find” command - # find / -name libldap* - and could not see the file libldap.so, but we could see the file libldap-2.3.so.
Here's the results of the FIND.:
There was also some in the powerbroker directories
Linux version information:
Red Hat Enterprise Linux ES release 4 (Nahant Update 7)
Details of this RPM:
Using this RPM command we see this detail.
rpm -qfi /usr/lib/libldap.so
Name : openldap-devel Relocations: (not relocatable)
Version : 2.3.34 Vendor: Fedora Project
Release : 7.fc7 Build Date: Fri 08 Feb 2008 06:14:46 AM PST
Install Date: Thu 27 Mar 2008 11:56:19 AM PDT Build Host: xenbuilder4.fedora.phx.redhat.com
Group : Development/Libraries Source RPM: openldap-2.3.34-7.fc7.src.rpm
Size : 5922338 License: OpenLDAP
Signature : DSA/SHA1, Tue 12 Feb 2008 10:19:19 AM PST, Key ID b44269d04f2a6fd2
Packager : Fedora Project
URL : http://www.openldap.org/
Summary : OpenLDAP development libraries and header files.
The openldap-devel package includes the development libraries and
header files needed for compiling applications that use LDAP
(Lightweight Directory Access Protocol) internals. LDAP is a set of
protocols for enabling directory services over the Internet. Install
this package only if you plan to develop or will need to compile
customized LDAP clients.
Upgrade the RPM version for this library.
Check to see if the libldap.so is a 32, or 64 bit version of the file. If it is a 32 bit, and the host is 64 bit, we'll need to rename it, then find and place the right file here. Follow these steps to do rename it.
- # file /usr/lib/libldap.so
- # mv /usr/lib/libldap.so /usr/lib/libldap.old
As we don't need a specific version of this file, we recomend that you create a symbolic link to the right file, as per this command:
- # cd /usr/lib
- # ln -s /usr/lib64/libldap-2.2.so.7 libldap.so
NOTE for the Geeks amongst us:
Question: What is exact description of what file it needs ,and where it needs to see it, so the Reporter LDAP service/daemon can operate properly?
Reporter will search for the library in the following order:
- A colon-separated list of directories in the user's LD_LIBRARY_PATH environment variable.
- The list of libraries specified in /etc/ld.so.cache (which is generated from /etc/ld.so.conf).
- /lib, followed by /usr/lib
NOTE2: For detailed information on how to setup LDAP with Reporter, see 000013348