I have been pretty busy as of late, hence my reduced blogging – but this is one I come across as a question quite frequently from people who are new to Notes/Domino on Linux.
On the Windows OS it is quite simple to run a compactor task from a command prompt or a batch file. However, when on Linux you will often be met by the following error message:
error while loading shared libraries: libnotes.so: cannot open shared object file: No such file or directory
This error message can appear on either a Linux desktop that has the Notes client installed or a server that has Domino installed. Basically the OS is complaining that it can’t find libnotes.so which usually 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. And, you will need to do the same for two other files as t the same time.
You will have to be root or have sudo rights to execute this:
sudo ln -s /opt/ibm/lotus/notes/libnotes.so /usr/lib/libnotes.so
sudo ln -s /opt/ibm/lotus/notes/libndgts.so /usr/lib/libndgts.so
sudo ln -s /opt/ibm/lotus/notes/libxmlproc.so /usr/lib/libxmlproc.so
You can see, I have my Notes client (Ubuntu 10.04) installed in [/opt/ibm/lotus/notes] which is the default location. If you have Notes installed someplace else, you will need to adjust the commands above accordingly.
the same commands will solve this issue for Domino server installations as well, though you will likely have Domino installed in [/opt/ibm/lotus/domino] so just adjust the commands and off you go!