From: Stephanie Teich-McGoldrick (stephanietm_at_gmail.com)
Date: Fri Jan 07 2011 - 11:02:33 CST

Hi Axel,

Unfortunately, the new flags did not work for me, so I would greatly
appreciate a binary copy.

Thanks,
Steph

On Wed, Jan 5, 2011 at 3:48 PM, Axel Kohlmeyer <akohlmey_at_gmail.com> wrote:

> hi steph,
>
> On Wed, Jan 5, 2011 at 4:14 PM, Stephanie Teich-McGoldrick
> <stephanietm_at_gmail.com> wrote:
> > Hello VMD users,
> >
> > I am trying to use VMD 1.8.7 in conjunction with Axel Kohlmeyer's lammps
> > plugin, which allows for visualization of triclinic simulations cells. I
> > have complied the plugin and copied lammpsplugin.so to the directory
> > "/Applications/VMD\ 1.8.7.app/Contents/vmd/plugins/MACOSXX86/molfile".
> >
> > Unfortunately, VMD starts with the following error message:
> >
> > ERROR) Unable to open dynamic library '/Applications/VMD
> > 1.8.7.app/Contents/vmd/plugins/MACOSXX86/molfile/lammpsplugin.so'.
> > ERROR) dlopen(/Applications/VMD
> > 1.8.7.app/Contents/vmd/plugins/MACOSXX86/molfile/lammpsplugin.so, 2): no
> > suitable image found.
> >
> > Does anyone have a suggestion as to how to fix this error?
>
> you have to change the makefile. compiling on MacOSX has
> become a bit quirky over time.
>
> please try replacing:
>
> LD=$(CC) -shared -fPIC
> CFLAGS= -O2 -Wall -W -fno-strict-aliasing -D_USE_ZLIB -g
> LIBS= -lm -lz
>
> with:
>
> LD=$(CC) -bundle -fPIC -dynamic
> CFLAGS= -Os -Wall -W -fno-strict-aliasing -g
> LIBS= -lm
>
> and let me know if that helps.
>
> otherwise, i can provide you with an updated binary compiled
> on the same machine that was used to build your VMD version.
>
> cheers,
> axel.
>
> >
> > Thanks in advance,
> > Stephanie
> >
>
>
>
> --
> Dr. Axel Kohlmeyer
> akohlmey_at_gmail.com http://goo.gl/1wk0
>
> Institute for Computational Molecular Science
> Temple University, Philadelphia PA, USA.
>