Colvars Package as module in Shared LAMMPS Library_Compilation Issues

Hey Axel,

How can I compile LAMMPS as a shared library that uses the colvars package?

I changed this section of the Makefile.g++ file (added -fPIC):

Axel,

Please disregard my previous email. It seems that it did work…

I guess just changing that one line in the colvars Makefile was appropriate.

Ross