Opened 19 years ago

Closed 19 years ago

#3548 closed defect (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (8)

comment:1 Changed 19 years ago by jon@…

blocked: 3448

comment:2 Changed 19 years ago by blb@…

Cc: blb@… removed

comment:3 Changed 19 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 19 years ago by jon@…

rep_platform: PCMacintosh

comment:5 Changed 19 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 19 years ago by jon@…

Attachment: p5-gd.Portfile added

portfile with workaround for broken gdlib-config

comment:6 Changed 19 years ago by jon@…

dependson: 3562

comment:7 Changed 19 years ago by olegb@…

Resolution: fixed
severity: majornormal
Status: newclosed

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.