Discussion:
[Openexr-user] libtool: link: `Useful/ilmbase-1.0.2/Iex/libIex.la' is not a valid libtool archive
Phanindra Bhagavatula
2010-12-10 06:18:14 UTC
Permalink
Hi,

I am trying to install OpenExr. So while installing ilmbase, my make fails.
The error returned is

sed: Useful/ilmbase-1.0.2/Iex/libIex.la: No such file or directory
libtool: link: `Useful/ilmbase-1.0.2/Iex/libIex.la' is not a valid libtool
archive
make[1]: *** [libImath.la] Error 1
make: *** [all-recursive] Error 1

I am trying to install it on my Mac OSX - Snow leopard.


Following is the complete output of make:


Making all in Half
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2
-D_THREAD_SAFE -MT eLut.o -MD -MP -MF ".deps/eLut.Tpo" -c -o eLut.o
eLut.cpp; \
then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f
".deps/eLut.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE
-o eLut eLut.o
mkdir .libs
g++ -pipe -g -O2 -D_THREAD_SAFE -o eLut eLut.o -Wl,-bind_at_load
./eLut > eLut.h
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2
-D_THREAD_SAFE -MT toFloat.o -MD -MP -MF ".deps/toFloat.Tpo" -c -o
toFloat.o toFloat.cpp; \
then mv -f ".deps/toFloat.Tpo" ".deps/toFloat.Po"; else rm -f
".deps/toFloat.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE
-o toFloat toFloat.o
g++ -pipe -g -O2 -D_THREAD_SAFE -o toFloat toFloat.o -Wl,-bind_at_load
./toFloat > toFloat.h
make all-am
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT half.lo -MD -MP
-MF ".deps/half.Tpo" -c -o half.lo half.cpp; \
then mv -f ".deps/half.Tpo" ".deps/half.Plo"; else rm -f
".deps/half.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2
-D_THREAD_SAFE -MT half.lo -MD -MP -MF .deps/half.Tpo -c half.cpp
-fno-common -DPIC -o .libs/half.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2
-D_THREAD_SAFE -MT half.lo -MD -MP -MF .deps/half.Tpo -c half.cpp -o half.o
/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE
-o libHalf.la -rpath /usr/local/lib -version-info 6:0:0 -no-undefined
half.lo
g++ -dynamiclib -single_module -o .libs/libHalf.6.0.0.dylib .libs/half.o
-install_name /usr/local/lib/libHalf.6.dylib -Wl,-compatibility_version
-Wl,7 -Wl,-current_version -Wl,7.0
(cd .libs && rm -f libHalf.6.dylib && ln -s libHalf.6.0.0.dylib
libHalf.6.dylib)
(cd .libs && rm -f libHalf.dylib && ln -s libHalf.6.0.0.dylib libHalf.dylib)
ar cru .libs/libHalf.a half.o
ranlib .libs/libHalf.a
creating libHalf.la
(cd .libs && rm -f libHalf.la && ln -s ../libHalf.la libHalf.la)
Making all in HalfTest
make[1]: Nothing to be done for `all'.
Making all in Iex
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT
IexThrowErrnoExc.lo -MD -MP -MF ".deps/IexThrowErrnoExc.Tpo" -c -o
IexThrowErrnoExc.lo IexThrowErrnoExc.cpp; \
then mv -f ".deps/IexThrowErrnoExc.Tpo" ".deps/IexThrowErrnoExc.Plo";
else rm -f ".deps/IexThrowErrnoExc.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2
-D_THREAD_SAFE -MT IexThrowErrnoExc.lo -MD -MP -MF
.deps/IexThrowErrnoExc.Tpo -c IexThrowErrnoExc.cpp -fno-common -DPIC -o
.libs/IexThrowErrnoExc.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2
-D_THREAD_SAFE -MT IexThrowErrnoExc.lo -MD -MP -MF
.deps/IexThrowErrnoExc.Tpo -c IexThrowErrnoExc.cpp -o IexThrowErrnoExc.o
/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexBaseExc.lo -MD
-MP -MF ".deps/IexBaseExc.Tpo" -c -o IexBaseExc.lo IexBaseExc.cpp; \
then mv -f ".deps/IexBaseExc.Tpo" ".deps/IexBaseExc.Plo"; else rm -f
".deps/IexBaseExc.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2
-D_THREAD_SAFE -MT IexBaseExc.lo -MD -MP -MF .deps/IexBaseExc.Tpo -c
IexBaseExc.cpp -fno-common -DPIC -o .libs/IexBaseExc.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2
-D_THREAD_SAFE -MT IexBaseExc.lo -MD -MP -MF .deps/IexBaseExc.Tpo -c
IexBaseExc.cpp -o IexBaseExc.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE
-o libIex.la -rpath /usr/local/lib -version-info 6:0:0 -no-undefined
IexThrowErrnoExc.lo IexBaseExc.lo
g++ -dynamiclib -single_module -o .libs/libIex.6.0.0.dylib
.libs/IexThrowErrnoExc.o .libs/IexBaseExc.o -install_name
/usr/local/lib/libIex.6.dylib -Wl,-compatibility_version -Wl,7
-Wl,-current_version -Wl,7.0
(cd .libs && rm -f libIex.6.dylib && ln -s libIex.6.0.0.dylib
libIex.6.dylib)
(cd .libs && rm -f libIex.dylib && ln -s libIex.6.0.0.dylib libIex.dylib)
ar cru .libs/libIex.a IexThrowErrnoExc.o IexBaseExc.o
ranlib .libs/libIex.a
creating libIex.la
(cd .libs && rm -f libIex.la && ln -s ../libIex.la libIex.la)
Making all in IexTest
make[1]: Nothing to be done for `all'.
Making all in Imath
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2
-D_THREAD_SAFE -MT ImathShear.lo -MD -MP -MF ".deps/ImathShear.Tpo" -c -o
ImathShear.lo ImathShear.cpp; \
then mv -f ".deps/ImathShear.Tpo" ".deps/ImathShear.Plo"; else rm -f
".deps/ImathShear.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathShear.lo -MD -MP -MF
.deps/ImathShear.Tpo -c ImathShear.cpp -fno-common -DPIC -o
.libs/ImathShear.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathShear.lo -MD -MP -MF
.deps/ImathShear.Tpo -c ImathShear.cpp -o ImathShear.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2
-D_THREAD_SAFE -MT ImathMatrixAlgo.lo -MD -MP -MF
".deps/ImathMatrixAlgo.Tpo" -c -o ImathMatrixAlgo.lo ImathMatrixAlgo.cpp; \
then mv -f ".deps/ImathMatrixAlgo.Tpo" ".deps/ImathMatrixAlgo.Plo"; else
rm -f ".deps/ImathMatrixAlgo.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathMatrixAlgo.lo -MD -MP -MF
.deps/ImathMatrixAlgo.Tpo -c ImathMatrixAlgo.cpp -fno-common -DPIC -o
.libs/ImathMatrixAlgo.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathMatrixAlgo.lo -MD -MP -MF
.deps/ImathMatrixAlgo.Tpo -c ImathMatrixAlgo.cpp -o ImathMatrixAlgo.o
/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2
-D_THREAD_SAFE -MT ImathVec.lo -MD -MP -MF ".deps/ImathVec.Tpo" -c -o
ImathVec.lo ImathVec.cpp; \
then mv -f ".deps/ImathVec.Tpo" ".deps/ImathVec.Plo"; else rm -f
".deps/ImathVec.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathVec.lo -MD -MP -MF .deps/ImathVec.Tpo
-c ImathVec.cpp -fno-common -DPIC -o .libs/ImathVec.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathVec.lo -MD -MP -MF .deps/ImathVec.Tpo
-c ImathVec.cpp -o ImathVec.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2
-D_THREAD_SAFE -MT ImathColorAlgo.lo -MD -MP -MF ".deps/ImathColorAlgo.Tpo"
-c -o ImathColorAlgo.lo ImathColorAlgo.cpp; \
then mv -f ".deps/ImathColorAlgo.Tpo" ".deps/ImathColorAlgo.Plo"; else
rm -f ".deps/ImathColorAlgo.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathColorAlgo.lo -MD -MP -MF
.deps/ImathColorAlgo.Tpo -c ImathColorAlgo.cpp -fno-common -DPIC -o
.libs/ImathColorAlgo.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathColorAlgo.lo -MD -MP -MF
.deps/ImathColorAlgo.Tpo -c ImathColorAlgo.cpp -o ImathColorAlgo.o
/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2
-D_THREAD_SAFE -MT ImathFun.lo -MD -MP -MF ".deps/ImathFun.Tpo" -c -o
ImathFun.lo ImathFun.cpp; \
then mv -f ".deps/ImathFun.Tpo" ".deps/ImathFun.Plo"; else rm -f
".deps/ImathFun.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathFun.lo -MD -MP -MF .deps/ImathFun.Tpo
-c ImathFun.cpp -fno-common -DPIC -o .libs/ImathFun.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathFun.lo -MD -MP -MF .deps/ImathFun.Tpo
-c ImathFun.cpp -o ImathFun.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2
-D_THREAD_SAFE -MT ImathBox.lo -MD -MP -MF ".deps/ImathBox.Tpo" -c -o
ImathBox.lo ImathBox.cpp; \
then mv -f ".deps/ImathBox.Tpo" ".deps/ImathBox.Plo"; else rm -f
".deps/ImathBox.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathBox.lo -MD -MP -MF .deps/ImathBox.Tpo
-c ImathBox.cpp -fno-common -DPIC -o .libs/ImathBox.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathBox.lo -MD -MP -MF .deps/ImathBox.Tpo
-c ImathBox.cpp -o ImathBox.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2
-D_THREAD_SAFE -MT ImathRandom.lo -MD -MP -MF ".deps/ImathRandom.Tpo" -c -o
ImathRandom.lo ImathRandom.cpp; \
then mv -f ".deps/ImathRandom.Tpo" ".deps/ImathRandom.Plo"; else rm -f
".deps/ImathRandom.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathRandom.lo -MD -MP -MF
.deps/ImathRandom.Tpo -c ImathRandom.cpp -fno-common -DPIC -o
.libs/ImathRandom.o
g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config
-pipe -g -O2 -D_THREAD_SAFE -MT ImathRandom.lo -MD -MP -MF
.deps/ImathRandom.Tpo -c ImathRandom.cpp -o ImathRandom.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE
-o libImath.la -rpath /usr/local/lib -version-info 6:0:0 -no-undefined
ImathShear.lo ImathMatrixAlgo.lo ImathVec.lo ImathColorAlgo.lo ImathFun.lo
ImathBox.lo ImathRandom.lo ../Iex/libIex.la
g++ -dynamiclib -single_module -o .libs/libImath.6.0.0.dylib
.libs/ImathShear.o .libs/ImathMatrixAlgo.o .libs/ImathVec.o
.libs/ImathColorAlgo.o .libs/ImathFun.o .libs/ImathBox.o
.libs/ImathRandom.o ../Iex/.libs/libIex.dylib -install_name
/usr/local/lib/libImath.6.dylib -Wl,-compatibility_version -Wl,7
-Wl,-current_version -Wl,7.0
(cd .libs && rm -f libImath.6.dylib && ln -s libImath.6.0.0.dylib
libImath.6.dylib)
(cd .libs && rm -f libImath.dylib && ln -s libImath.6.0.0.dylib
libImath.dylib)
ar cru .libs/libImath.a ImathShear.o ImathMatrixAlgo.o ImathVec.o
ImathColorAlgo.o ImathFun.o ImathBox.o ImathRandom.o
ranlib .libs/libImath.a
creating libImath.la
sed: Useful/ilmbase-1.0.2/Iex/libIex.la: No such file or directory
libtool: link: `Useful/ilmbase-1.0.2/Iex/libIex.la' is not a valid libtool
archive
make[1]: *** [libImath.la] Error 1
make: *** [all-recursive] Error 1


Thanks,
Phani

Loading...