Personal Blog of Thomas Hampel - Creative Mythbusting in Development and Collaboration

Who am I?


Previous Document Next Document

error while loading shared libraries:

Thomas Hampel
 3 May 2011

Installing Lotus Notes on Linux is rather simple, the UI starts right away without any problems.
However if you happen to run command level operations such as compact or fixup you may run into problems because the following error message may appear:

"error while loading shared libraries: cannot open shared object file: No such file or directory"

Notes is complaining it can’t find which normally resides in the /usr/lib folder on your machine.
All you have to do is to create some links so that the Notes/Domino code can find this file

To do so you will have to be root or have sudo rights and execute the following commands
sudo ln -s /opt/ibm/lotus/notes/ /usr/lib/
sudo ln -s /opt/ibm/lotus/notes/ /usr/lib/
sudo ln -s /opt/ibm/lotus/notes/ /usr/lib/

or if you want a more propper solution, use those commands (thanks to Brian for reminding me)

# Create the conf file and put into place
echo “/opt/ibm/lotus/notes” >/tmp/lotus-notes.conf
sudo install -m 644 /tmp/lotus-notes.conf /etc/

# Tell the linker to use it
sudo ldconfig

Note: Of course all these commands refer the the standard Notes client installation directories, which you may need to adjust to fit your installation.
Tagged with: Error Linux Notes

1.) Untitled

Federico T. 05/05/2015 19:03:37

Hi Thomas,

Thanks for this solution , I was getting this error on a Domino9 installation (CentOS x64) .

I had to do some changes to make it work . Created the links under /usr/lib64/ instead, and added an extra link.

In my case I run this:

ln -s /opt/ibm/domino/notes/latest/linux/ /usr/

ln -s /opt/ibm/domino/notes/latest/linux/ /usr/lib64/

ln -s /opt/ibm/domino/notes/latest/linux/ /usr/lib64/

ln -s /opt/ibm/domino/notes/latest/linux/ /usr/lib64/

Best Regards,


2.) Untitled

Chris 25/11/2015 11:52:36

thanks for the hint! Solution of Frederico worked for me, too.

Best Regards Chris

Thomas Hampel, All rights reserved.