New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #3562 (closed defect: invalid)

Opened 8 years ago

Last modified 7 years ago

BUG: gd2 port has broken gdlib-config

Reported by: jon@… Owned by: michaelm@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…, opendarwin@…
Port:

Description

gdlib-config is used for providing listing linker options, which should be used by code linking against the GD libraries. It is broken, printing a path to a dynamic library "/opt/local/lib/libiconv.dylib" where it should be printing a linker option "-liconv".

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

This is using the darwinport graphics/gd2 2.0.28

Change History

comment:1 Changed 8 years ago by jon@…

  • Owner changed from darwinports-bugs@… to michaelm@…
  • blocked set to 3548

comment:2 Changed 8 years ago by jon@…

Also, the Portfile for gd2 doesnt mention libiconv as a dependency. Perhaps it should.

comment:3 Changed 8 years ago by mww@…

  • Summary changed from gd2 port has broken gdlib-config to BUG: gd2 port has broken gdlib-config

comment:4 Changed 7 years ago by markd@…

  • Cc markd@… added

(In reply to comment #0)

gdlib-config is used for providing listing linker options, which should be used by code linking against the GD libraries. It is broken, printing a path to a dynamic library "/opt/local/lib/libiconv.dylib" where it should be printing a linker option "-liconv".

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

This is using the darwinport graphics/gd2 2.0.28

gdlib-config now returns -liconv; the gd2 port has been updated since this bug and this bug is obsolete.

(In reply to comment #1)

Also, the Portfile for gd2 doesnt mention libiconv as a dependency. Perhaps it should.

But I'm not sure about this. Should libiconv be added as a dependency?

comment:5 Changed 7 years ago by markd@…

But I'm not sure about this. Should libiconv be added as a dependency?

After a little research I do not think libiconv should be a dependency. This bug can be closed.

comment:6 Changed 7 years ago by landonf@…

  • Status changed from new to closed
  • Resolution set to invalid

comment:7 Changed 7 years ago by opendarwin@…

  • Cc opendarwin@… added

Version 2.0.33 of gd2 still returns path to dynamic library rather than a linker option.

bliss:~ lou$ gdlib-config --version --libs -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz /opt/local/lib/libiconv.dylib

Note: See TracTickets for help on using tickets.