On Aug 12, 2005, at 3:23 PM, Samuel Herschbein wrote:

Running Tiger 10.4.2. I got the error when I tried this with XCode 2.1 fully updated, so I tried uninstalling 2.1 and installing 2.0 that came on the DVD. Same problem...

I searched the archives for this error, found a lot of facts but no definitive solution.

Here's the steps to get the error:
1) Clean install of Fink
2) fink selfupdate repeatedly until no change
3) Edit fink.conf to add unstable/main unstable/crypto
4) fink selfupdate repeatedly until no change
5) fink scanpackages
6) fink install bundle-kde
7) The error occurs in pango1-xft2, and the app pango-querymodules crashes.
8) Tried apt-get install pango1-xft2, same error:
Setting up pango1-xft2 (1.8.1-3) ...
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
  Expected in: /sw/lib/libJPEG.dylib
/sw/sbin/update-pango-modules: line 15: 10839 Trace/BPT trap pango-querymodules >$TMPFILE
/sw/bin/dpkg: error processing pango1-xft2 (--configure):
subprocess post-installation script returned error exit status 133
Errors were encountered while processing:
pango1-xft2
E: Sub-process /sw/bin/dpkg returned an error code (1)

Here's what I did:
1) mv /sw/lib/libjpeg.dylib /sw/lib/libjpeg.dylib.save
2) ln -s System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO/ libJPEG.dylib /sw/lib/libjpeg.dylib
3) apt-get install pango1-xft2 - worked AOK
4) fink install bundle-kde is now progressing onwards!

Is this an OK solution?

TIA,
Sam




The error is indeed mysterious--I'm not sure whether setting

DYLD_FALLBACK_LIBRARY_PATH=:

solves it or not (I mentioned this in

http://www.mail-archive.com/[email protected]/ msg19814.html )

--I tried unsetting this but wasn't able to reproduce your error.

However, in general it's an extremely bad idea to muck around with Fink-installed libraries manually, especially as you've now linked / sw/lib/libjpeg.dylib to a nonexistent file (cf. my system):

$ ls -l /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks//ImageIO.framework/Versions/A/total 320
drwxr-xr-x    6 root     wheel         204 Jun 27 11:42 Headers
-rwxr-xr-x    1 root     wheel      327048 Jul 13 08:08 ImageIO
drwxr-xr-x   28 root     wheel         952 Aug  8 11:39 Resources

So you'll likely hit a snag when you build something that _really_ needs libjpeg.
--
Alexander Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to