Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#3562 closed defect (invalid)

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

comment:1 Changed 19 years ago by jon@…

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

comment:2 Changed 19 years ago by jon@…

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

comment:3 Changed 19 years ago by mww@…

Summary: gd2 port has broken gdlib-configBUG: gd2 port has broken gdlib-config

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

Resolution: invalid
Status: newclosed

comment:7 Changed 18 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.