2006.03.17 14:51 "[Tiff] Libtiff 3.8.1 broken build on darwin macosx 10.3.9", by Mirsad Todorovac
Hi!
I have tried building of libtiff library version 3.8.1
On macos 10.4.2 Tigers it build w/o problem, but on macos 10.3.9 Panther it breaks with following message:
lt-primijen:~/public/mirsad/tiff-3.8.1/libtiff likovna$ make
make all-am
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -o libtiffxx.la
-rpath /usr/local/lib -no-undefined -version-number 3:8:1 tif_stream.lo ../libtiff/libtiff.la ../port/libport.la -ljpeg -lz -lc libtool: link: rm -fr .libs/libtiffxx.lax
libtool: link: Extracting /Users/likovna/public/mirsad/tiff-3.8.1/libtiff/../port/.libs/libport.a libtool: link: (cd .libs/libtiffxx.lax/libport.a && ar x /Users/likovna/public/mirsad/tiff-3.8.1/libtiff/../port/.libs/libport.a) libtool: link: g++ -dynamiclib -Wl,-single_module -o .libs/libtiffxx.3.dylib .libs/tif_stream.o .libs/libtiffxx.lax/libport.a/dummy.o ../libtiff/.libs/libtiff.dylib
-ljpeg -lz -lc -install_name /usr/local/lib/libtiffxx.3.dylib
-Wl,-compatibility_version -Wl,12 -Wl,-current_version -Wl,12.1 ld: Undefined symbols: __ZNSi5seekgElSt12_Ios_Seekdir __ZNSo5seekpElSt12_Ios_Seekdir /usr/bin/libtool: internal link edit command failed make[1]: *** [libtiffxx.la] Error 1 make: *** [all] Error 2 lt-primijen:~/public/mirsad/tiff-3.8.1/libtiff likovna$
The machines I've tried this build on are dual G5s with macos 10.3.9, tried gcc-4.2 and gcc native from Xcode 1.5 tools (latest for 10.3.9).
Build with and without odcctools was attempted.
ld: Undefined symbols:
__ZNSi5seekgElSt12_Ios_Seekdir
__ZNSo5seekpElSt12_Ios_Seekdir
I've tried seeking for Ios_Seekdir kind of messages both on Google and on this list archives, but at no avail.
Please help.
Best regards,
Mirsad Todorovac