New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #3548 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

p5-GD port is broken

Reported by: jon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

the p5-gd port is broken. It install OK, but is unusable. Example:

/opt/local/bin/perl -e 'use GD;'

dyld: NSLinkModule() error dyld: Symbol not found: _libiconv_close

Referenced from: /opt/local/lib/libgd.2.dylib Expected in: flat namespace

Trace/BPT trap

Attachments

p5-gd.Portfile (544 bytes) - added by jon@… 8 years ago.
portfile with workaround for broken gdlib-config

Change History

comment:1 Changed 8 years ago by jon@…

  • blocked set to 3448

comment:2 Changed 8 years ago by blb@…

  • Cc blb@… removed

comment:3 Changed 8 years ago by jon@…

Upgrading the version of the module in the Portfile to 2.23 seems not to help.

At the configure stage, the following error appears, which may be relevant:

Unrecognized argument in LIBS ignored: '/opt/local/lib/libiconv.dylib'

comment:4 Changed 8 years ago by jon@…

  • rep_platform changed from PC to Macintosh

comment:5 Changed 8 years ago by jon@…

Makefile.PL picks up the library settings using "gdlib-config --libs". This appears to be broken, giving a full path to a library file, not a switch to pass to the linker:

[jon@ridley ports]$ gdlib-config --libs -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz /opt/local/lib/libiconv.dylib

Changed 8 years ago by jon@…

portfile with workaround for broken gdlib-config

comment:6 Changed 8 years ago by jon@…

  • dependson set to 3562

comment:7 Changed 8 years ago by olegb@…

  • Status changed from new to closed
  • Resolution set to fixed
  • severity changed from major to normal

This is *not* a blocker ... please!

I have commited your patch, thanks!

would you like to maintain the port ?

Note: See TracTickets for help on using tickets.