[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 while loading shared libraries: libgmx.so.6: cannot open
shared object file: No such file or directory

But there's libgmx.so.6 in:

Could you help me to see how to solve it?


-------------- 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