Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#31327 closed defect (invalid)

GraphicsMagick @1.3.12 build failure with rogue libltdl in /usr/local/lib

Reported by: mcohen@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion Cc:
Port: GraphicsMagick

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm unable to get GraphicsMagick to build. I'm working off a recent upgrade to lion, Xcode 4.1 and macports 2.03.

I believe I followed the migration instructions at wiki:Migration correctly; after installing Xcode 4.1, I did a port selfupdate to 2.03, updated my macports.conf (I just copied the macports.conf.default over what was there previously since I had never made any changes) uninstalled all my previously installed ports, and reinstalled some that I needed. I was able to successfully reinstall the ruby and rb-rubygems ports, so I know macports is basically working, but GraphicsMagick is erroring out. For what it's worth, I did not have GraphicsMagick installed prior to all the system upgrading; this is a first-time install. I'm attaching the log. Thanks for any help you can offer!

Attachments (1)

main.log (351.9 KB) - added by mcohen@… 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by mcohen@…

Attachment: main.log added

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

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

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

Resolution: invalid
Status: newclosed
Summary: GraphicsMagick @1.3.12 build failure - shell command failedGraphicsMagick @1.3.12 build failure with rogue libltdl in /usr/local/lib

From your log we see:

:info:build ld: warning: ignoring file /usr/local/lib/libltdl.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64)
:info:build Undefined symbols for architecture x86_64:
:info:build   "_lt_dlclose", referenced from:
:info:build       _DestroyModuleInfo in magick_libGraphicsMagick_la-module.o
:info:build       _ExecuteModuleProcess in magick_libGraphicsMagick_la-module.o
:info:build       _OpenModule in magick_libGraphicsMagick_la-module.o
:info:build   "_lt_dlerror", referenced from:
:info:build       _DestroyModuleInfo in magick_libGraphicsMagick_la-module.o
:info:build       _ExecuteModuleProcess in magick_libGraphicsMagick_la-module.o
:info:build       _InitializeMagickModules in magick_libGraphicsMagick_la-module.o
:info:build       _OpenModule in magick_libGraphicsMagick_la-module.o
:info:build   "_lt_dlexit", referenced from:
:info:build       _DestroyModuleInfo in magick_libGraphicsMagick_la-module.o
:info:build   "_lt_dlopen", referenced from:
:info:build       _ExecuteModuleProcess in magick_libGraphicsMagick_la-module.o
:info:build       _OpenModule in magick_libGraphicsMagick_la-module.o
:info:build   "_lt_dlsym", referenced from:
:info:build       _ExecuteModuleProcess in magick_libGraphicsMagick_la-module.o
:info:build       _OpenModule in magick_libGraphicsMagick_la-module.o
:info:build   "_lt_dlinit", referenced from:
:info:build       _InitializeMagickModules in magick_libGraphicsMagick_la-module.o
:info:build ld: symbol(s) not found for architecture x86_64

So you have a rogue copy of the libtool dynamic loader in /usr/local that is causing problems. This type of problem is why we don't support people having things installed in /usr/local while using MacPorts. Please move /usr/local aside (e.g. rename it to /usr/local-off), clean GraphicsMagick, and try again.

comment:3 Changed 13 years ago by mcohen@…

Ah. Thanks, that did it.

Note: See TracTickets for help on using tickets.