* Martin Costabel on Friday, November 21, 2008 at 20:14:18 +0100 > Christian Ebert wrote: >> * Martin Costabel on Friday, November 21, 2008 at 10:59:08 +0100 > [] >>>> Why in hell doesn't it load /sw/lib/libexpat.1.dylib? >>> No idea. Although the real question is why the hell did it load >>> /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle >>> >>> (which then loads /usr/lib/libexpat.1.dylib), instead of >>> /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle >>> >>> which it had been complaining about when fink ran that same command. >> >> Yeah, right. >> >>> BTW, it does the same thing for me. > > After actually thinking about it, I see now why this is so: With "sudo" > one gets a crippled environment. If you run > > sudo -s > source /sw/bin/init.sh > env DYLD_PRINT_LIBRARIES=1 \ > LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache \ > ./po freedesktop.org.xml.in freedesktop.org.xml > > you get the same environment as fink, and you will see that Fink's > Expat.bundle is loaded.
Yup. "sudo -s" was the next thing I tried. Unfortunately fink rebuild still fails: gcc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -L/sw/lib -o test-subclassing test_subclassing-test-subclassing.o -L/sw/lib -lxml2 -lglib-2.0 -lintl LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml Generating and caching the translation database Merging translations into freedesktop.org.xml. dyld: lazy symbol binding failed: Symbol not found: _XML_ParserCreate_MM Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle Expected in: dynamic lookup dyld: Symbol not found: _XML_ParserCreate_MM Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle Expected in: dynamic lookup make[1]: *** [freedesktop.org.xml] Trace/BPT trap make[1]: *** Deleting file `freedesktop.org.xml' make: *** [check-recursive] Error 1 ### execution of make failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-shared-mime-info-0.40-2 (Reading database ... 61078 files and directories currently installed.) Removing fink-buildlock-shared-mime-info-0.40-2 ... Failed: phase compiling: shared-mime-info-0.40-2 failed I don't get it. I can build it manually. I rebuild fink. Still no go. c -- \black\trash movie _C O W B O Y_ _C A N O E_ _C O M A_ Ein deutscher Western/A German Western -->> http://www.blacktrash.org/underdogma/ccc.html -->> http://www.blacktrash.org/underdogma/ccc-en.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
