Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#32467 closed defect (fixed)

GraphicsMagick: needs libtool library dependency

Reported by: gentoo.integer@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: GraphicsMagick

Description

Small fix for GraphicsMagick mdmg building.

Attachments (2)

GraphicsMagick_libtool.patch (926 bytes) - added by gentoo.integer@… 13 years ago.
GM patch
LIBLTLD.png (4.0 KB) - added by gentoo.integer@… 13 years ago.

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by gentoo.integer@…

GM patch

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

Keywords: haspatch added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: GraphicsMagick libtool dependence for mdmgGraphicsMagick: needs libtool library dependency

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

Can you show me what error occurred when libtool was not installed?

comment:3 Changed 13 years ago by gentoo.integer@…

I already killed my test virtual machine, but on system without macports GM tries to use libltld version 10.0.0 and fails, it need 7.0.0.

comment:4 Changed 13 years ago by gentoo.integer@…

the same as #29823

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

Yes but ImageMagick was demonstrably dynamically linked with libltdl; I could verify this using otool -L. But I cannot see that when I look at GraphicsMagick's files. The only place otool -L shows me GraphicsMagick using ltdl is in libGraphicsMagick.a, which is a static library, so it shouldn't care whether ltdl is there at runtime or not. Can you get the exact error, and/or a reproduction recipe for how I could see the problem on my system?

comment:6 Changed 13 years ago by gentoo.integer@…

yeap, port mdmg GraphicsMagick, move it to clean system, install, cd /opt/local/bin && ./gm. Toold wouldn't work and wrote error about libltld.

comment:7 Changed 13 years ago by gentoo.integer@…

*Tool

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

Resolution: fixed
Status: assignedclosed

I think on your system for some reason GraphicsMagick was dynamically linking with the MacPorts libtool rather than statically linking with its included libtool as it does on my system. In r87854 I've forced it to always use MacPorts libtool, and added the dependency, and increased the revision (to 4, since there was a note in the portfile that revision 3 should be skipped).

Changed 13 years ago by gentoo.integer@…

Attachment: LIBLTLD.png added

comment:9 Changed 13 years ago by gentoo.integer@…

ok, thanks, i'll test.

Note: See TracTickets for help on using tickets.