error while loading shared libraries: libncl-2.1.15.so:

60 views
Skip to first unread message

deep...@gmail.com

unread,
Mar 28, 2013, 10:30:57 PM3/28/13
to garli...@googlegroups.com
Hello,

I was able to compile Garli without any error on ubuntu 12.04. But when I want to run garli, I receive following error:

Garli: error while loading shared libraries: libncl-2.1.15.so: cannot open shared object file: No such file or directory

ncl libraries are succesfully installed. I don't understand

regards,
Piet.

Derrick Zwickl

unread,
Apr 1, 2013, 5:13:21 PM4/1/13
to garli...@googlegroups.com, deep...@gmail.com
Hi Piet,

Did you compile NCL and GARLI manually (i.e., configure, make, make install), or use the compile script?  Did you specify a specific --prefix to configure?  If you installed them globally then it looks like the NCL library was put in a directory that your system is not searching for libraries.  If you didn't specify a prefix it was probably installed to /usr/local/lib or /usr/local/lib64, but your system may only be looking in /usr/lib.  Running
ldconfig -p
will show you where the libraries are that the system knows about.

There are several things to try.  First, find where libncl-2.1.15.so is.  You could add that directory to your LD_LIBRARY_PATH environment variable.  Or, you could put a symbolic link to it from the directory that contains the rest of your libraries.  Or, you could reinstall NCL and specify a --prefix to configure, specifying a directory that is searched (probably --prefix=/usr/).

Let me know if you need further help or if that didn't make sense.

Best,
Derrick
Reply all
Reply to author
Forward
0 new messages