From: Xinqiang Ding (xqding_at_umich.edu)
Date: Sat Nov 14 2015 - 07:09:59 CST

Dear all,

I'm trying to compile VMD plugins according to the compiling manual. Here
are my steps:

export TCLINC=-I/dir/to/tcl8.5/include
export TCLLIB=-L/dir/to/tcl8.5/lib

gmake LINUX TCLINC=$TCLINC TCLLIB=$TCLLIB

The compiler complaints the error:

/usr/bin/ld: skipping incompatible /dir/to/tcl8.5/lib/libtcl8.5.so when
searching for -ltcl8.5

/usr/bin/ld: skipping incompatible /usr/lib64/libtcl8.5.so when searching
for -ltcl8.5

/usr/bin/ld: cannot find -ltcl8.5

collect2: ld returned 1 exit status

gmake[2]: *** [vtfplugin.so] Error 1

gmake[1]: *** [molfilelibs] Error 1

It seems that the compiler can find my tcl8.5 library, but it is
incompatible. The information about OS i'm using is Linux
2.6.32-431.29.2.el6.x86_64

Does any have met with similar problem or any idea how to fix this?

Thanks,
Xinqiang Ding