libgdiplus

Jeremy Lavergne jeremy at lavergne.gotdns.org
Tue Oct 4 08:55:00 PDT 2011


Has anyone else built libgdiplus? I'm curious if it needs `supported_archs
i386`. Of course, I'm not certain that's the error since LD complains i386
is not i386.

When I tried building it, I was met with ld: in
/opt/local/lib/libxml2.2.dylib, file was built for unsupported file format
which is not the architecture being linked (i386) for architecture i386

===


Making all in tests
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_li
bgdiplus/libgdiplus/work/libgdiplus-2.6.7/tests'
/Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I../src
-I../src -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/inclu
de -I/opt/local/include   -D_REENTRANT -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/loca
l/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng14    -I/opt/local/include   -I/opt/local/i
nclude/freetype2 -I/opt/local/include   -I/opt/local/include  
-I/opt/local/include    -I/opt/local/include  -no-cpp-precomp -pipe -O2
-arch
x86_64 -arch i386 -lpthread -c testgdi.c
i686-apple-darwin10-llvm-gcc-4.2: -lpthread: linker input file unused
because linking not done
i686-apple-darwin10-llvm-gcc-4.2: -lpthread: linker input file unused
because linking not done
/bin/sh ../libtool --tag=CC   --mode=link /Developer/usr/bin/llvm-gcc-4.2 
-no-cpp-precomp -pipe -O2 -arch x86_64 -arch i386 -lpthread  -flat
_namespace -undefined suppress -L/opt/local/lib -arch x86_64 -arch i386 -o
testgdi testgdi.o ../src/libgdiplus.la -lfontconfig
libtool: link: /Developer/usr/bin/llvm-gcc-4.2 -no-cpp-precomp -pipe -O2
-arch x86_64 -arch i386 -flat_namespace -undefined suppress -arch x8
6_64 -arch i386 -o .libs/testgdi testgdi.o  -L/opt/local/lib
../src/.libs/libgdiplus.dylib /opt/local/lib/libglib-2.0.dylib -lresolv
/opt/loc
al/lib/libintl.dylib /opt/local/lib/libcairo.dylib
/opt/local/lib/libpixman-1.dylib -lpthread /opt/local/lib/libxcb-shm.dylib
/opt/local/lib/
libX11-xcb.dylib /opt/local/lib/libxcb-render.dylib
/opt/local/lib/libXrender.dylib /opt/local/lib/libtiff.dylib -lc
/opt/local/lib/libjpeg.dylib /opt/local/lib/libgif.dylib
/opt/local/lib/libSM.dylib /opt/local/lib/libICE.dylib
/opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib
/opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib
/opt/local/lib/libpng14.dylib /opt/local/lib/libexif.dylib -lm
/opt/local/lib/libfontconfig.dylib /opt/local/lib/libiconv.dylib
/opt/local/lib/libfreetype.dylib -lz -lbz2 /opt/local/lib/libexpat.dylib
-framework Carbon
ld: in /opt/local/lib/libxml2.2.dylib, file was built for unsupported file
format which is not the architecture being linked (i386) for architecture
i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccaOm3I1.out (No such file or
directory)




More information about the macports-dev mailing list