Re: Problems compiling: weird symbol conflicts?



I don't know why, but I can't stand the package systems for OS X.

1. Version:
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5247.obj~4/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/- 4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 --with-arch=pentium-m --with-tune=prescott --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5247)

2. --prefix=/sft

3. LDFLAGS=-L/sft/lib -L/usr/X11R6/lib
CPPFLAGS='-I/sft/include/atk-1.0 -I/sft/include/glib-2.0 -I/sft/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sft/include/cairo -I/sft/include/libIDL- 2.0 -I/sft/include/libpng12 -I/sft/include/pango-1.0 -I/usr/include/libxml2   -I/sft/include'
LD_LIBRARY_PATH=/sft/lib:/usr/local/lib:/usr/X11R6/lib:/lib:/usr/lib
PATH=/sft/bin:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/usr/sbin:/bin:/sbin:/Developer/Tools
PKG_CONFIG_PATH=/sft/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig

4. glib: 2.9.6
pango: 2.11.99
cairo: 1.1.1 (cvs)
atk: 1.10.3

On 3/19/06, Marius Schamschula <mschamschula gmail com> wrote:
Patrick,

I have only built on the PowerPPC, but a number of times. I have never seen this. Here are some more questions:

1) which compiler? (i.e. gcc/g++/g77 --version)

2) any other configure arguments?

3) did you set any environmental variables?

4) which versions of glib, cairo, pango, atk did you install? Are you sure they have all their dependencies installed?

You might try to check if DarwinPorts has an Intel variant out, and if they did anything special relative to the PPC version.

On 3/17/06, Patrick Hulin < patrick hulin gmail com> wrote:
I'm having some really bizarre problems installing GTK under Mac OS X on an x86 Mac. Here are the errors make install gives me as it runs gtk-query-immodules:

../../gtk/gtk-query-immodules-2.0 > /sft/etc/gtk-2.0/gtk.immodules
Cannot load module /sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-am-et.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-cedilla.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-cyrillic-translit.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-inuktitut.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-ipa.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ipa.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-ipa.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ipa.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-thai-broken.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-ti-er.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-ti-et.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-viqr.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-viqr.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-viqr.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-viqr.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

Cannot load module /sft/lib/gtk-2.0 /2.4.0/immodules/im-xim.so: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-xim.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib

/sft/lib/gtk-2.0/2.4.0/immodules/im-xim.so does not export GTK+ IM module API: dlopen(/sft/lib/gtk-2.0/2.4.0/immodules/im-xim.so, 10): Symbol not found: __cg_TIFFSetErrorHandler
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /sft/lib/libTIFF.dylib'


I configured with --disable-libtiff, and uninstalling libtiff gave me almost the same problem with the png library.

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list





--
Marius



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]