RedHat 5.7 / CentOS 5.7 Shared Library "SO" Issue

Mindwatering Incorporated

Author: Tripp W Black

Created: 01/15/2013 at 04:53 PM

 

Category:
Domino Server Issues Troubleshooting
Misc. Log Errors

Issue:
When installing an IBM Lotus Domino task add-on, we ran into an interesting problem with the libraries not being recognized in the /opt/ibm/lotus/latest/linux folder.

The installation instructions said to edit the file: /etc/ld.so.conf. We were to add a new line so that the file looked like:
# cat ld.so.conf
include ld.so.conf.d/*.conf
include /opt/ibm/lotus/notes/latest/linux

However, that didn't work.

We entered ldd packagename.so and sure enough some of the libraries were missing, including libnotes.so which comes w/Domino's install.
We entered lgconfig again, and no difference. (A restart is NOT required.)

Solution:
1. Edit the /etc/ld.so.conf.
# vi /etc/ld.so.conf
Remove the include /opt/ibm/lotus/notes/latest/linux line. Save the file.

2. Navigate into the /etc/ld.so.conf.d/ folder.
# cd /etc/ld.so.conf
# touch domaddonlibs.conf -- use any name you want as long as it has .conf --
# vi domaddonlibs.com
Add the following line:
/opt/ibm/lotus/latest/linux
Save the file.

3. Update the library index
# ldconfig

4. Test again
# ldd packagename.so
Confirm the missing packages are now there.

If the notes.ini doesn't have the add-on listed, add it now (assuming it has one). Now restart the Domino services and confirm the add-on loads now.


previous page