From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Aug 09 2011 - 13:45:32 CDT

Hi,
  You should be using the 64-bit "LINUXAMD64" build target and not
the 32-bit "LINUX" target. I may eventually rename these build targets
to make it more obvious to people what they're getting.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Aug 09, 2011 at 01:43:22PM -0400, Mark Suhovecky wrote:
>
>
>
> I'm trying to build the plugins on a 64-bit RHEL5 machine.
> I've built Tcl8.5.10 from source- 64 bit. I get errors trying to build with it:
>
> gmake LINUX TCLINC=-I/afs/crc.nd.edu/x86_64_linux/scilib/tcl/tcl8.5.10/dist/include TCLLIB=-L/afs/crc.nd.edu/x86_64_linux/scilib/tcl/tcl8.5.10/dist/lib
> Building Molecule File Reader plugins
>
> /usr/bin/ld: skipping incompatible /afs/crc.nd.edu/x86_64_linux/scilib/tcl/tcl8.5.10/dist/lib/libtcl8.5.so when searching for -ltcl8.5
> /usr/bin/ld: skipping incompatible /afs/crc.nd.edu/x86_64_linux/scilib/tcl/tcl8.5.10/dist/lib/libtcl8.5.a when searching for -ltcl8.5
> /usr/bin/ld: cannot find -ltcl8.5
> collect2: ld returned 1 exit status
> gmake[2]: *** [webpdbplugin.so] Error 1
> gmake[1]: *** [molfilelibs] Error 1
> gmake: *** [LINUX] Error 2
>
>
> newcell.crc.nd.edu{msuhovec}549: file /afs/crc.nd.edu/x86_64_linux/scilib/tcl/tcl8.5.10/dist/lib/libtcl8.5.so
> /afs/crc.nd.edu/x86_64_linux/scilib/tcl/tcl8.5.10/dist/lib/libtcl8.5.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped
>
> Normally when I see that error, it'sbecause I'm linking to a 32-bit library. Not sure what the deal is here. I'm assuming that I should be building
> these with the 64-bit version? Or am I missing something else?
>
> Thanks for any help,
>
> Mark
>
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/       Fax: 217-244-6078