-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/24/11 7:24 AM, Stephen Malton wrote: > Hi, > > I'm seeing a similar problem updating cairo. It looks like a bunch of > dependecy libraries got compiled as i386 instead of x86_64?
According to the information below, your Fink tree is set up to be i386. but I don't > know how to force them to change. > > Package manager version: 0.31.0 Distribution version: > selfupdate-rsync Fri Jul 22 19:24:02 2011, 10.6, i386 Trees: > local/main stable/main stable/crypto unstable/main unstable/crypto > Xcode Version: 3.2.5-1 2011 MBP (corei7) > > The output is: > > libtool: link: clang -dynamiclib -o .libs/libcairo.2.dylib > .libs/cairo-analysis-surface.o .libs/cairo-arc.o .libs/cairo-array.o > .libs/cairo-atomic.o .libs/cairo-base85-stream.o > .libs/cairo-bentley-ottmann.o .libs/cairo.o .libs/cairo-cache.o > .libs/cairo-clip.o .libs/cairo-color.o .libs/cairo-debug.o > .libs/cairo-fixed.o .libs/cairo-font-face.o > .libs/cairo-font-face-twin.o .libs/cairo-font-face-twin-data.o > .libs/cairo-font-options.o .libs/cairo-freelist.o > .libs/cairo-gstate.o .libs/cairo-hash.o .libs/cairo-hull.o > .libs/cairo-image-surface.o .libs/cairo-lzw.o .libs/cairo-matrix.o > .libs/cairo-meta-surface.o .libs/cairo-misc.o .libs/cairo-mutex.o > .libs/cairo-output-stream.o .libs/cairo-paginated-surface.o > .libs/cairo-path-bounds.o .libs/cairo-path.o .libs/cairo-path-fill.o > .libs/cairo-path-fixed.o .libs/cairo-path-stroke.o > .libs/cairo-pattern.o .libs/cairo-pen.o .libs/cairo-polygon.o > .libs/cairo-rectangle.o .libs/cairo-region.o > .libs/cairo-scaled-font.o .libs/cairo-skiplist.o .libs/cairo-slope.o > .libs/cairo-spline.o .libs/cairo-stroke-style.o > .libs/cairo-surface.o .libs/cairo-surface-fallback.o > .libs/cairo-system.o .libs/cairo-traps.o .libs/cairo-unicode.o > .libs/cairo-user-font.o .libs/cairo-version.o .libs/cairo-wideint.o > .libs/cairo-cff-subset.o .libs/cairo-scaled-font-subsets.o > .libs/cairo-truetype-subset.o .libs/cairo-type1-fallback.o > .libs/cairo-type1-subset.o .libs/cairo-type3-glyph-surface.o > .libs/cairo-pdf-operators.o .libs/cairo-xlib-display.o > .libs/cairo-xlib-screen.o .libs/cairo-xlib-surface.o > .libs/cairo-xlib-visual.o .libs/cairo-quartz-surface.o > .libs/cairo-quartz-font.o .libs/cairo-png.o > .libs/cairo-glitz-surface.o .libs/cairo-ft-font.o > .libs/cairo-ps-surface.o .libs/cairo-pdf-surface.o > .libs/cairo-deflate-stream.o .libs/cairo-svg-surface.o -L/sw/lib > /sw/lib/libpixman-1.dylib /sw/lib/freetype219/lib/libfreetype.dylib > /sw/lib/fontconfig2/lib/libfontconfig.dylib /sw/lib/libglitz.dylib > -lm /sw/lib/libpng15.dylib -lXrender -L/usr/X11/lib -lX11 -lz > -Wl,-framework -Wl,ApplicationServices -install_name > /sw/lib/libcairo.2.dylib -compatibility_version 10803 > -current_version 10803.10 -Wl,-single_module ld: warning: in > /sw/lib/libpixman-1.dylib, file was built for i386 which is not the > architecture being linked (x86_64) ld: warning: in > /sw/lib/freetype219/lib/libfreetype.dylib, file was built for i386 > which is not the architecture being linked (x86_64) ld: warning: in > /sw/lib/fontconfig2/lib/libfontconfig.dylib, file was built for i386 > which is not the architecture being linked (x86_64) ld: warning: in > /sw/lib/libglitz.dylib, file was built for i386 which is not the > architecture being linked (x86_64) ld: warning: in > /sw/lib/libpng15.dylib, file was built for i386 which is not the > architecture being linked (x86_64) Undefined symbols: > "_png_set_IHDR", referenced from: _write_png in cairo-png.o > "_pixman_region32_copy", referenced from: __cairo_region_copy in > cairo-region.o <snip> > > Any help gratefully received. Steve > I can confirm this error on 10.6/i386. The problem is that the build procedure is trying to link i386 libraries as x86_64. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4sM4AACgkQB8UpO3rKjQ+yPACfSVoVR61rx5mTbLnCZwAyKsfO JewAn2nCSSGHFZc2sjhIrGoJ/oIZ9NF7 =vF1j -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
