Opened 15 years ago

Closed 6 years ago

#24501 closed defect (fixed)

libgdiplus-2.6: undeclared dependencies

Reported by: schulle79@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), bgrupe27, dave.bc@…, tcollett+macports@…, Scott.C.Marks@…, lagrave+bugs+macosforge.org@…, benjamin.j.golder@…, mail@…, mstath@…, david.r.klein@…, Feuermurmel (Michael Schwarz)
Port: libgdiplus

Description (last modified by jmroot (Joshua Root))

Hi cannot install libgdiplus 2.6 +universal which i need for mono. It fails with the following error:

--->  Building libgdiplus
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libgdiplus/work/libgdiplus-2.6" && /usr/bin/make -j2 all " returned error 2
Command output: i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
/usr/bin/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/include -I/opt/local/include   -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12    -I/opt/local/include   -I/opt/local/include/freetype2 -I/opt/local/include   -I/opt/local/include   -I/opt/local/include    -I/opt/local/include  -no-cpp-precomp -O2 -arch x86_64 -arch i386 -lpthread -c testreversepath.c
i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -no-cpp-precomp -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 
mkdir .libs
i686-apple-darwin10-gcc-4.2.1: -lpthread: linker input file unused because linking not done
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -no-cpp-precomp -O2 -arch x86_64 -arch i386 -lpthread  -flat_namespace -undefined suppress -L/opt/local/lib -arch x86_64 -arch i386 -o testbits testbits.o ../src/libgdiplus.la -lfontconfig 
/usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -arch i386 -flat_namespace -undefined suppress -arch x86_64 -arch i386 -o .libs/testgdi testgdi.o  -L/opt/local/lib ../src/.libs/libgdiplus.dylib -lpthread /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libtiff.dylib /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/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libexif.dylib /opt/local/lib/libintl.dylib -lc -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libexpat.dylib 
/usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -arch i386 -flat_namespace -undefined suppress -arch x86_64 -arch i386 -o .libs/testbits testbits.o  -L/opt/local/lib ../src/.libs/libgdiplus.dylib -lpthread /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libtiff.dylib /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/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libexif.dylib /opt/local/lib/libintl.dylib -lc -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libexpat.dylib 
ld: warning: duplicate dylib /opt/local/lib/libz.1.dylib
ld: warning: duplicate dylib /opt/local/lib/libz.1.dylib
ld: warning: in /opt/local/lib/libcairo.dylib, file was built for unsupported file format which is not the ld:architecture being linked  (warning: i386in)
ld: warning: in /opt/local/lib/libpixman-1.dylib, file was built for unsupported file format  /optwhich is /not localthe /architecture libbeing/ libcairo.dyliblinked,  (filei386 )was
 ldbuilt:  forwarning :unsupported  duplicatefile  dylibformat  /whichopt /islocal /notlib /thelibz.1.dylib 
architectureld :being  inlinked  /(opti386/)local
/ldlib:/ libxslt.1.dylibwarning,:  filein  was/ optbuilt/ localfor/ libunsupported/ libpixmanfile- 1.dylibformat,  whichfile  iswas  notbuilt  thefor  architectureunsupported  being linked (i386) for architecture i386
file format which is not the architecture being linked (i386)
ld: warningcollect2: ld returned 1 exit status
: duplicate dylib /opt/local/lib/libz.1.dylib
ld: in /opt/local/lib/libxslt.1.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//ccKd8LtD.out (No such file or directory)
lipo: can't open input file: /var/tmp//ccm3x68P.out (No such file or directory)
make[2]: *** [testgdi] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [testbits] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Attachments (2)

libgdiplus.log (5.5 KB) - added by Scott.C.Marks@… 14 years ago.
main.log (112.5 KB) - added by lagrave+bugs+macosforge.org@… 14 years ago.
Recent libgdiplus log

Download all attachments as: .zip

Change History (35)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to stechert@…
Port: libgdiplus added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

comment:2 in reply to:  1 Changed 15 years ago by cron410@…

ive got the same exact problem.

Snow Leopard 10.6.3 32-bit mode

trying to install gnome.

question: if i install gnome, and use it as my main interface, will i be able to run mac apps from gnome?

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Summary: libgdiplus 2.6 +universal configure error - build failure on Snow Leopardlibgdiplus-2.6: undeclared dependencies

As well as cairo and libxslt as seen here, #24838 shows that sqlite3 is used.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:5 Changed 14 years ago by bgrupe27

Cc: bgrupe@… added

Cc Me!

comment:6 Changed 14 years ago by dave.bc@…

Cc: dave.bc@… added

Cc Me!

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #25204.

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

I added the cairo dependency in r71721 as part of updating libgdiplus to 2.6.7.

I did not add sqlite3 because I can find no evidence that libgdiplus makes use of sqlite3; "sqlite" does not appear anywhere in the unpacked distfile.

comment:9 Changed 14 years ago by tcollett+macports@…

Not reopening this because I don't know the policies here, but I had this issue, and was only able to fix it by figuring out that libgdiplus was asking for a universal version of libsasl.2.2.dylib, and upgrading my cyrus-sasl2 package to +universal.

I deduce from this that libgdiplus is also not properly declaring a dependency on cyrus-sasl2.

comment:10 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: tcollett+macports@… added

I'm not able to find any evidence that libgdiplus uses or links with cyrus-sasl2. If you have evidence that it does, you should open a new ticket and provide it.

Changed 14 years ago by Scott.C.Marks@…

Attachment: libgdiplus.log added

comment:11 Changed 14 years ago by Scott.C.Marks@…

Resolution: fixed
Status: closedreopened

See lines 25 and 31 in the attachment.

comment:12 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

There are no occurrences of the string "sasl" anywhere in the libgdiplus source tarball, so I don't understand how it can be trying to use libsasl.dylib. I think it must be one of libgdiplus' dependencies that has inadvertently pulled it in. Can you show me the output of these two commands:

port dependents cyrus-sasl2

otool -L /opt/local/lib/libICE.dylib /opt/local/lib/libSM.dylib \
/opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib \
/opt/local/lib/libXdmcp.dylib /opt/local/lib/libXrender.dylib \
/opt/local/lib/libcairo.dylib /opt/local/lib/libexif.dylib \
/opt/local/lib/libexpat.dylib /opt/local/lib/libfontconfig.dylib \
/opt/local/lib/libfreetype.dylib /opt/local/lib/libgif.dylib \
/opt/local/lib/libglib-2.0.dylib /opt/local/lib/libgobject-2.0.dylib \
/opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libiconv.dylib \
/opt/local/lib/libintl.dylib /opt/local/lib/libjpeg.dylib \
/opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib \
/opt/local/lib/libtiff.dylib /opt/local/lib/libxcb.dylib

comment:13 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: Scott.C.Marks@… added

Scott, please see my remark above.

comment:14 in reply to:  12 Changed 14 years ago by Scott.C.Marks@…

Replying to ryandesign@…:

There are no occurrences of the string "sasl" anywhere in the libgdiplus source tarball, so I don't understand how it can be trying to use libsasl.dylib. I think it must be one of libgdiplus' dependencies that has inadvertently pulled it in. Can you show me the output of these two commands:

port dependents cyrus-sasl2

otool -L /opt/local/lib/libICE.dylib /opt/local/lib/libSM.dylib \
/opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib \
/opt/local/lib/libXdmcp.dylib /opt/local/lib/libXrender.dylib \
/opt/local/lib/libcairo.dylib /opt/local/lib/libexif.dylib \
/opt/local/lib/libexpat.dylib /opt/local/lib/libfontconfig.dylib \
/opt/local/lib/libfreetype.dylib /opt/local/lib/libgif.dylib \
/opt/local/lib/libglib-2.0.dylib /opt/local/lib/libgobject-2.0.dylib \
/opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libiconv.dylib \
/opt/local/lib/libintl.dylib /opt/local/lib/libjpeg.dylib \
/opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib \
/opt/local/lib/libtiff.dylib /opt/local/lib/libxcb.dylib

OK -- here you go:

sh-3.2# port dependents cyrus-sasl2
subversion depends on cyrus-sasl2
sh-3.2# 
sh-3.2# otool -L /opt/local/lib/libICE.dylib /opt/local/lib/libSM.dylib \
> /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib \
> /opt/local/lib/libXdmcp.dylib /opt/local/lib/libXrender.dylib \
> /opt/local/lib/libcairo.dylib /opt/local/lib/libexif.dylib \
> /opt/local/lib/libexpat.dylib /opt/local/lib/libfontconfig.dylib \
> /opt/local/lib/libfreetype.dylib /opt/local/lib/libgif.dylib \
> /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libgobject-2.0.dylib \
> /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libiconv.dylib \
> /opt/local/lib/libintl.dylib /opt/local/lib/libjpeg.dylib \
> /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib \
> /opt/local/lib/libtiff.dylib /opt/local/lib/libxcb.dylib
/opt/local/lib/libICE.dylib:
	/opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libSM.dylib:
	/opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
	/opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libX11.dylib:
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libXau.dylib:
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libXdmcp.dylib:
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libXrender.dylib:
	/opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libcairo.dylib:
	/opt/local/lib/libcairo.2.dylib (compatibility version 11003.0.0, current version 11003.0.0)
	/opt/local/lib/libpixman-1.0.dylib (compatibility version 21.0.0, current version 21.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0)
	/opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 13.0.0, current version 13.1.0)
	/opt/local/lib/libpng12.0.dylib (compatibility version 45.0.0, current version 45.0.0)
	/opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/opt/local/lib/libexif.dylib:
	/opt/local/lib/libexif.12.dylib (compatibility version 16.0.0, current version 16.1.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libexpat.dylib:
	/opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libfontconfig.dylib:
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libfreetype.dylib:
	/opt/local/lib/libfreetype.6.dylib (compatibility version 13.0.0, current version 13.2.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libgif.dylib:
	/opt/local/lib/libgif.4.dylib (compatibility version 6.0.0, current version 6.6.0)
	/opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
	/opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libglib-2.0.dylib:
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 2601.0.0, current version 2601.1.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 41.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 44.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.42.0)
/opt/local/lib/libgobject-2.0.dylib:
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 2601.0.0, current version 2601.1.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 2601.0.0, current version 2601.1.0)
	/opt/local/lib/libgthread-2.0.0.dylib (compatibility version 2601.0.0, current version 2601.1.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 41.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libgthread-2.0.dylib:
	/opt/local/lib/libgthread-2.0.0.dylib (compatibility version 2601.0.0, current version 2601.1.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 2601.0.0, current version 2601.1.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 41.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libiconv.dylib:
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libintl.dylib:
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.29.0)
/opt/local/lib/libjpeg.dylib:
	/opt/local/lib/libjpeg.8.dylib (compatibility version 9.0.0, current version 9.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libpixman-1.dylib:
	/opt/local/lib/libpixman-1.0.dylib (compatibility version 21.0.0, current version 21.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libpng12.dylib:
	/opt/local/lib/libpng12.0.dylib (compatibility version 45.0.0, current version 45.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
/opt/local/lib/libtiff.dylib:
	/opt/local/lib/libtiff.3.dylib (compatibility version 13.0.0, current version 13.4.0)
	/opt/local/lib/libjpeg.8.dylib (compatibility version 9.0.0, current version 9.2.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
/opt/local/lib/libxcb.dylib:
	/opt/local/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)

comment:15 Changed 14 years ago by Scott.C.Marks@…

And, by the way, once I installed a universal cyrus-sasl2, mono installed without a hitch:

sh-3.2# port install cyrus-sasl2 +universal--->  Computing dependencies for cyrus-sasl2
--->  Fetching cyrus-sasl2
--->  Verifying checksum(s) for cyrus-sasl2
--->  Extracting cyrus-sasl2
--->  Applying patches to cyrus-sasl2
--->  Configuring cyrus-sasl2
--->  Building cyrus-sasl2
--->  Staging cyrus-sasl2 into destroot
--->  Installing cyrus-sasl2 @2.1.23_3+kerberos+universal
--->  Deactivating cyrus-sasl2 @2.1.23_3+kerberos
--->  Activating cyrus-sasl2 @2.1.23_3+kerberos+universal
--->  Cleaning cyrus-sasl2
sh-3.2# port install mono
--->  Computing dependencies for mono
--->  Dependencies to be installed: libgdiplus
--->  Building libgdiplus
--->  Staging libgdiplus into destroot
--->  Installing libgdiplus @2.6.7_0+universal
--->  Activating libgdiplus @2.6.7_0+universal
--->  Cleaning libgdiplus
--->  Fetching mono
--->  Attempting to fetch mono-2.6.7.tar.bz2 from http://distfiles.macports.org/mono
--->  Verifying checksum(s) for mono
--->  Extracting mono
--->  Applying patches to mono
--->  Configuring mono
--->  Building mono
--->  Staging mono into destroot
--->  Installing mono @2.6.7_0
--->  Activating mono @2.6.7_0
--->  Cleaning mono

comment:16 Changed 14 years ago by isaiasmy@…

Installing universal cyrus-sasl2 does not solve my mono installation :(

comment:17 Changed 14 years ago by lagrave+bugs+macosforge.org@…

Cc: lagrave+bugs+macosforge.org@… added

Cc Me!

comment:18 Changed 14 years ago by lagrave+bugs+macosforge.org@…

I just selfupdated and then tried to install mono and I also see this problem. See attached log.

Changed 14 years ago by lagrave+bugs+macosforge.org@…

Attachment: main.log added

Recent libgdiplus log

comment:19 Changed 14 years ago by gh.xiao@…

Cc: gh.xiao@… added

Cc Me!

comment:20 Changed 14 years ago by benjamin.j.golder@…

Cc: benjamin.j.golder@… added

Cc Me!

comment:21 Changed 14 years ago by mail@…

Same problem here, cyrus-sasl2 installed ...

comment:22 Changed 14 years ago by mail@…

Cc: mail@… added

Cc Me!

comment:23 Changed 14 years ago by goalieca@…

I'm receiving the same issue on snow leopard. I wiped all macports (following migration guide) and proceeded to "sudo port install fsharp". Fails at same spot in build. I also tried building universal but have not found package that may be triggering problem (i386 == i386 after all).

comment:24 Changed 14 years ago by macports.org@…

After receiving the libgdiplus errors, I was able to successfully install mono by installing the universal versions of cyrus-sasl2 and libxslt:

# port clean libgdiplus
# port clean cyrus-sasl2
# port install cyrus-sasl2 +universal
# port clean libxslt
# port install libxslt +universal
# port install mono

comment:25 Changed 13 years ago by dumdrak@…

after reinstalling cyrus-sasl2 and libxslt with +universal libgdiplus-2.6 compiled true

comment:26 in reply to:  description Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mstath@… added
Owner: changed from stechert@… to macports-tickets@…
Status: reopenednew

Replying to schulle79@…:

ld: in /opt/local/lib/libxslt.1.dylib, file was built for unsupported file format which is not the architecture being linked (i386) for architecture i386

Has duplicate #30216.

comment:27 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: david.r.klein@… added

Has duplicate #30607.

comment:28 Changed 13 years ago by Feuermurmel (Michael Schwarz)

Cc: michi.schwarz@… added

Cc Me!

comment:29 Changed 10 years ago by jmroot (Joshua Root)

Has this changed since #38010 was fixed?

comment:30 Changed 10 years ago by gh.xiao@…

Cc: gh.xiao@… removed

Cc Me!

comment:31 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: changed from macports-tickets@… to MarcusCalhoun-Lopez
Status: newaccepted

comment:32 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

This issue stems from the fact that libgdiplus adds -flat_namespace -undefined suppress to the compiler flags.
There is an upstream pull request to fix the problem.

comment:33 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: acceptedclosed

In b85b6a4586f96cdf4531727be5d90b1523eb143e/macports-ports (master):

libgdiplus: avoid unnecessary/dangerous flags

Fixes #24501
See https://github.com/mono/libgdiplus/pull/534

Note: See TracTickets for help on using tickets.