[gmx-users] error while loading shared libraries: libgmx.so.6

Qin Qiao qiaoqin47 at gmail.com
Thu Apr 7 06:08:06 CEST 2011


Dear all,

I'm using a c++ code to handle the xtc file with 'xtcio.h', but get the
error when executing it.

the command I use:
     g++  test.cpp -o test -I/usr/local/gromacs/include/gromacs
-L/usr/local/gromacs/lib -lgmx
     ./test
Error:
./test: error while loading shared libraries: libgmx.so.6: cannot open
shared object file: No such file or directory

But there's libgmx.so.6 in:
/usr/local/gromacs/lib/libgmx.so.6
/usr/local/gromacs/lib/libgmx.so.6.0.0

Could you help me to see how to solve it?

Best,

Qin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20110407/469dfa87/attachment.html>


More information about the gromacs.org_gmx-users mailing list