[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] 1.6.0 builds on 64bit Linux platform?
From: |
Ken McGaugh |
Subject: |
Re: [Openexr-devel] 1.6.0 builds on 64bit Linux platform? |
Date: |
Fri, 17 Aug 2007 11:09:39 +1000 |
On 17/08/2007, at 10:17 AM, Wayne Wooten wrote:
I seem to be having problems building on a RedHat EL4.4 64bit
Linux platform.
The libtool program seems to substitute in a 32 bit path instead
of a 64bit path.
IE:
g++ -pipe -g -O2 -o b44ExpLogTable b44ExpLogTable.o -L/usr/local/
lib -pthread /usr/local/lib/libImath.a -L/scratch/gcc4/gcc-4.0.2-
objdir/x86_64-unknown-linux-gnu/32/libstdc++-v3/src -L/scratch/gcc4/
gcc-4.0.2-objdir/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-L/scratch/gcc4/gcc-4.0.2-objdir/gcc/32 -L/scratch/gcc4/gcc-4.0.2-
objdir/gcc -L/usr/lib/gcc/../../lib -L/usr/lib/gcc/.. -L/lib/../lib
-L/usr/lib/../lib /usr/local/lib/libHalf.a /usr/local/lib/
libIlmThread.a /usr/local/lib/libIex.a /usr/lib/../lib/libstdc++.so
-Wl,--rpath -Wl,/usr/lib/../lib -Wl,--rpath -Wl,/usr/lib/../lib
/usr/lib/../lib/libstdc++.so: could not read symbols: File in wrong
format
The path should read: /usr/lib/../lib64/libstdc++.so
I haven't been able to grok enough of the build system to figure
out how to make a fix...
If it is just a case of the libtool version being too old (like it is
for OSX universal builds), then you could
download the latest version of libtool, and then copy the following
files from it into the toplevel directories
for all the exr-related libraries:
config.guess
config.sub
install-sh
ltmain.sh
This is how I'm getting everything to build correctly under OSX as
universal binaries.
--Ken