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? 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

---

Hi, I am a user of fink. Today when I update the fink, it told me " The 
package 'libpng15' will be installed. Reading dependency for 
libpng15-1.5.2-1... The following 5 packages will be installed or 
updated: cairo cairo-shlibs docbook-xsl fftw3 fftw3-shlibs The following 
additional package will be installed: libpng15 " But the compiling of 
cairo is failed. The error information is " ld: symbol(s) not found 
clang: error: linker command failed with exit code 1 (use -v to see 
invocation) make[3]: *** [libcairo.la] Error 1 make[2]: *** [all] Error 
2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ### 
execution of /var/tmp/tmp.1.cSAEgQ failed, exit code 2 Removing runtime 
build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r 
fink-buildlock-cairo-1.8.10-4 (Reading database ... 103205 files and 
directories currently installed.) Removing fink-buildlock-cairo-1.8.10-4 
... Failed: phase compiling: cairo-1.8.10-4 failed " Please find detail 
information in text file attached in this email. -------------- next 
part -------------- An embedded and charset-unspecified text was 
scrubbed... Name: Terminal Saved Output.txt -------------- next part 
-------------- The system information is " Package manager version: 
0.31.0 Distribution version: selfupdate-rsync Sat Jul 23 22:13:09 2011, 
10.6, i386 Trees: local/main stable/main stable/crypto unstable/main 
unstable/crypto Xcode Version: 3.2.6-1 " Could you tell me why this 
happens and fixed it? Thank you for your help! Also thank you very much 
for developing the Fink for Mac OS! It makes Mac much more powerful! 
Best, Hao Zhang


------------------------------------------------------------------------------
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

Reply via email to