Dear all,<br><br>I&#39;m using a c++ code to handle the xtc file with &#39;xtcio.h&#39;, but get the error when executing it.<br><br>the command I use:<br>     g++  test.cpp -o test -I/usr/local/gromacs/include/gromacs -L/usr/local/gromacs/lib -lgmx<br>
     ./test<br>Error:<br>./test: error while loading shared libraries: libgmx.so.6: cannot open shared object file: No such file or directory<br>
<br>But there&#39;s libgmx.so.6 in:<br>/usr/local/gromacs/lib/libgmx.so.6<br>/usr/local/gromacs/lib/libgmx.so.6.0.0<br>
<br clear="all">Could you help me to see how to solve it?<br><br>Best,<br><font color="#888888"><br>Qin</font><br clear="all"><br><br>