Opened 13 years ago

Closed 13 years ago

#30070 closed defect (invalid)

ImageMagick 6.7.0-7 fails to build with /usr/local/lib/libstdc++.dylib

Reported by: ak@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: ImageMagick

Description (last modified by jmroot (Joshua Root))

Hello, I have a problem installing ImageMagick. Specifically, the ImageMagick fails to build with the Error:

Target org.macports.build returned: shell command failed (see log for details).  

The log shows the following error:

:info:build       Magick::drawImage::drawImage(Magick::Drawable const&)in STL.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[1]: *** [Magick++/lib/libMagick++.la] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick-6.7.0-7" && /usr/bin/make -j16 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for ImageMagick): org.macports.activate org.macports.build org.macports.destroot org.macports.install

Do I miss something trivial?

Thanks, Adam

Attachments (1)

main.log (426.0 KB) - added by ak@… 13 years ago.
ImageMagick main log file.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by ak@…

Attachment: main.log added

ImageMagick main log file.

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…

Please remember to preview and use WikiFormatting, and cc the maintainer.

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

Summary: ImageMagick 6.7.0-7 fails to build on LeopardImageMagick 6.7.0-7 fails to build with /usr/local/lib/libstdc++.dylib

The relevant error is much earlier in the log and reads:

ld warning: in /usr/local/lib/libstdc++.dylib, file is not of required architecture

It is not supported to have things in /usr/local specifically because of unpredictable conflicts like this. Please rename /usr/local to /usr/local-off, clean ImageMagick and try again.

comment:3 in reply to:  2 Changed 13 years ago by ak@…

Replying to ryandesign@…:

The relevant error is much earlier in the log and reads:

ld warning: in /usr/local/lib/libstdc++.dylib, file is not of required architecture

It is not supported to have things in /usr/local specifically because of unpredictable conflicts like this. Please rename /usr/local to /usr/local-off, clean ImageMagick and try again.

Well, renaming the /usr/local even though it helps with this particular problem shouldn't be treated as the ultimate solution, since it kills Parallels desktop, MacTex package and probably also other programs installed there. Is there any other solution?

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

Resolution: invalid
Status: newclosed

Glad that worked. Sorry, we do not support using MacPorts when there are things in /usr/local. (That means it might work, but we can't help you with it.)

Note: See TracTickets for help on using tickets.