Re: pango1-xft2-1.10.1.1006 failure on MacOSX 10.6.1

Martin Costabel <[email protected]> Mon, 07 Dec 2009 18:21:14 +0100
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
[email protected] wrote:
[]
>> /bin/sh ../libtool --mode=link gcc  -Os -pipe -Wall  -no-undefined 
>> -L/usr/X11R6/lib -o libpangox-1.0.la -rpath /sw/lib -version-info 
>> 1001:0:1001 -export-symbols-regex "^pango_.*" module-defs-x.lo 
>> pangox.lo pangox-fontcache.lo pangox-fontmap.lo libpango-1.0.la  -lX11 
>>  -L/sw/lib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl 
>> generating symbol list for `libpangox-1.0.la'
>> /usr/bin/nm  .libs/module-defs-x.o .libs/pangox.o 
>> .libs/pangox-fontcache.o .libs/pangox-fontmap.o  | sed -n -e 's/^.*[ 
>> ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 
>> \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpangox-1.0.exp
>> grep -E -e "^pango_.*" ".libs/libpangox-1.0.exp" > 
>> ".libs/libpangox-1.0.expT"
>> mv -f ".libs/libpangox-1.0.expT" ".libs/libpangox-1.0.exp"
>> sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < 
>> .libs/libpangox-1.0.exp > .libs/libpangox-1.0-symbols.expsym
>> gcc -dynamiclib  -o .libs/libpangox-1.0.0.1001.0.dylib 
>>  .libs/module-defs-x.o .libs/pangox.o .libs/pangox-fontcache.o 
>> .libs/pangox-fontmap.o  -L/usr/X11R6/lib ./.libs/libpango-1.0.dylib 
>> -L/sw/lib /sw/lib/libiconv.dylib /opt/local/lib/libX11.dylib 
>> -L/opt/local/lib /opt/local/lib/libXau.dylib 
>> /opt/local/lib/libXdmcp.dylib /sw/lib/libgobject-2.0.dylib 
>> /sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib 
>> /sw/lib/libintl.dylib  -install_name  /sw/lib/libpangox-1.0.0.dylib 
>> -Wl,-compatibility_version -Wl,1002 -Wl,-current_version -Wl,1002.0
>> ld: warning: in /opt/local/lib/libX11.dylib, file is not of required 
>> architecture

It is strange that after everything went smoothly and correctly up to 
this, suddenly the macports stuff pops up at this point. Libtool must 
have found the macports reference somewhere in its search path, which 
contains /usr/X11/lib, /sw/lib, and the defaults /usr/local/lib and 
/usr/lib. So something (probably some *.la file) in one of these 
directories must have been contaminated by macports stuff, and you are 
in for more of this kind of surprises, even if you now move /opt/local 
temporarily out of the way.

This could be another case where nuking all *.la files might help.

-- 
Martin

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev