[gmx-developers] shared libraries - unresolved symbols issue
Martin Höfling
martin.hoefling at gmx.de
Wed Nov 12 20:45:31 CET 2008
Am Mittwoch, den 12.11.2008, 15:46 +0100 schrieb Daniel Seeliger:
Hey Daniel,
> I use the gromacs libmd and libgmx with python. The --enable-shared option
> didn't work for me, too but if I compile gromacs with:
>
> ./configure
> make -j x CFLAGS=-fPIC
>
> I can use the libs in python.
My solution to the initial problem now a slight modification on the
Makefile.in, linking libmd and libgmx dynamically together with each
other.
Patch can be found here:
http://bugzilla.gromacs.org/show_bug.cgi?id=258
How did you use it from within python? I first tried Swig but I am now using ctypes.
Best
Martin
More information about the gromacs.org_gmx-developers
mailing list