Opened 13 years ago

Closed 12 years ago

#29745 closed defect (fixed)

ImageMagick lcms/lcms2 library mismatch

Reported by: anddam (Andrea D'Amore) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: lcms lcms2 mismatch library Cc:
Port: ImageMagick

Description

While upgrading ImageMagick with both lcms and lcms2 installed the configure phase (debug output) selects lcms' library, as per configure.args option but then the process breaks at build phase with the linker trying to link a lcms2 symbol with lcms library.

This probably means that some conditional ifdef isn't working properly in code, configure should define appropriate macros to use lcms rather than lcms2, but we could do something in MP like adding a port conflict.

In order to upgrade I had to uninstall lcms2.

Please confirm that bumping revision with both lcms and lcms2 installed and active is broken on your system too, if not this ticket may be marked as invalid.

Change History (3)

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

I do have lcms and lcms2 installed and active, and ImageMagick installs fine -- but links with lcms2. So I should update the dependency to use lcms2. But this doesn't explain the build failure you're reporting. (Can you attach the full main.log please? or is it the same as in #30897?)

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

Replying to ryandesign@…:

So I should update the dependency to use lcms2.

r82775. Please re-test with this version.

comment:3 Changed 12 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: newclosed

I cannot reproduce the issue now. I'm closing the ticket as fixed as now imagemagick depends on and links to lcms2.

Note: See TracTickets for help on using tickets.