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