From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Tue Aug 09 2011 - 13:48:48 CDT

On Tue, Aug 9, 2011 at 1:23 PM, Mark Suhovecky <suhovecky_at_nd.edu> wrote:
>
> I'm trying to build the plugin s 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?

yes. you are building the plugins for a 32bit arch (LINUX); try
LINUXAMD64 instead.

axel.

>
> Thanks for any help,
>
> Mark
>
>
>
>
> Mark Suhovecky
> HPC System Administrator
> Center for Research Computing
> University of Notre Dame
> suhovecky_at_nd.edu
>

-- 
Dr. Axel Kohlmeyer
akohlmey_at_gmail.com  http://goo.gl/1wk0
Institute for Computational Molecular Science
Temple University, Philadelphia PA, USA.