Ticket #30070 (closed defect: invalid)
ImageMagick 6.7.0-7 fails to build with /usr/local/lib/libstdc++.dylib
| Reported by: | ak@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | ||
| Port: | ImageMagick |
Description (last modified by jmr@…) (diff)
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
Change History
comment:1 Changed 23 months ago by jmr@…
- Owner changed from macports-tickets@… to ryandesign@…
- Description modified (diff)
Please remember to preview and use WikiFormatting, and cc the maintainer.
comment:2 follow-up: ↓ 3 Changed 23 months ago by ryandesign@…
- Summary changed from ImageMagick 6.7.0-7 fails to build on Leopard to ImageMagick 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 23 months 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 architectureIt 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?


ImageMagick main log file.