* Martin Costabel on Saturday, November 22, 2008 at 08:39:48 +0100
> Christian Ebert wrote:
> []
>> Yup. "sudo -s" was the next thing I tried. Unfortunately fink
>> rebuild still fails:
> []
> 
> If you run fink, there is no difference whether you do sudo -s 
> beforehand or not. But if you run the failing intltool-merge command by 
> hand, there is a difference. If you do "sudo -s; source /sw/bin/init.sh" 
> before you run the command, you get the same environment that fink uses 
> when it runs the command. If you use only "sudo", then some environment 
> variables are different, in particular PERL5LIB which influences the 
> perl search path.
> 
> You could also run, with the same effect as to PERL5LIB, the one-liner
> 
> sudo env DYLD_PRINT_LIBRARIES=1 env PERL5LIB=$PERL5LIB \
> LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache \
> ./po freedesktop.org.xml.in freedesktop.org.xml
> 
> All this so that we get a chance to see what is really happening when 
> your fink rebuild command gets to this point.

/sw/src/fink.build/shared-mime-info-0.40-2/shared-mime-info-0.40$ sudo env 
DYLD_PRINT_LIBRARIES=1 env PERL5LIB=$PERL5LIB LC_ALL=C ./intltool-merge -x -u 
-c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml
dyld: loaded: /usr/bin/env
dyld: loaded: /usr/lib/libgcc_s.1.dylib
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /usr/lib/system/libmathCommon.A.dylib
dyld: loaded: /usr/bin/perl
dyld: loaded: 
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE/libperl.dylib
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /usr/lib/libutil.dylib
dyld: loaded: /usr/lib/libgcc_s.1.dylib
dyld: loaded: /usr/lib/system/libmathCommon.A.dylib
dyld: loaded: 
/System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/File/Glob/Glob.bundle
dyld: loaded: /bin/sh
dyld: loaded: /usr/lib/libncurses.5.4.dylib
dyld: loaded: /usr/lib/libiconv.2.dylib
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /usr/lib/libgcc_s.1.dylib
dyld: loaded: /usr/lib/system/libmathCommon.A.dylib
dyld: loaded: /sw/bin/iconv
dyld: loaded: 
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
dyld: loaded: /sw/lib/libiconv.2.dylib
dyld: loaded: /usr/lib/libgcc_s.1.dylib
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /usr/lib/libicucore.A.dylib
dyld: loaded: /usr/lib/libobjc.A.dylib
dyld: loaded: /usr/lib/libauto.dylib
dyld: loaded: /usr/lib/libstdc++.6.dylib
dyld: loaded: /usr/lib/system/libmathCommon.A.dylib
Found cached translation database
Merging translations into freedesktop.org.xml.
dyld: loaded: 
/sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
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

Trace/BPT trap

>> I don't get it. I can build it manually. I rebuild fink. Still no
>> go.
> 
> As I said before, I don't know what is going on either. But unless you 
> try to get more information out of your system, nobody will be able to 
> help you.
> 
> The obvious suspicion is that you have another libexpat.1.dylib, for 
> example in /usr/local/lib or elsewhere, which does not provide the 
> missing symbol (both /sw/lib/libexpat.1.dylib and 
> /usr/lib/libexpat.1.dylib do provide it), and which gets loaded instead 
> of the right one. Up to you to confirm or refute this suspicion.

I always move /usr/local out of the way first thing when I get a
fink build failure.

$ locate libexpat.1.dylib
/Developer/SDKs/MacOSX10.5.sdk/usr/lib/libexpat.1.dylib
/sw/lib/libexpat.1.dylib
/usr/lib/libexpat.1.dylib

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

Reply via email to