Bug 442785
Summary: | broken gd pkg-config/gdlib-config results | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Juliano F. Ravasi <bugs+fedora> |
Component: | gd | Assignee: | Jiri Moskovcak <jmoskovc> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | dfediuck, rdieter |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.0.35-3.fc8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-07-09 02:53:40 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Juliano F. Ravasi
2008-04-16 19:14:17 UTC
I'd argue the "Expected results" should simply be: -lgd Everything else is extraneous in the non-static linking case. That said, there are exceptions to our expectations taht *config output what client programs expect, including mysql_config, pg_config (which report libs that mysql, postgresql were built with, not necessarily what client apps should use). For pkgconfig, the fix would be relatively easy, put everything except -lgd in a new tag in the *.pc file: Libs.private: which is included only when pkg-config --static is used. Yes, I just checked and really, -lgd is enough to pull all the link dependencies needed by libgd. This seems to be a problem on the libgd package itself: http://cvs.php.net/viewcvs.cgi/gd/libgd/src/config/gdlib-config.in?revision=1.2&view=markup gdlib-config is generated with @LIBS@ and @LIBICONV@ as provided by the libgd configure script, used to compile and link libgd itself. Hi, on my Fedora 8 $ pkg-config gdlib --libs returns -ldg (should be -lgd, but that's just typo). And I'll ask upstream about the output of glib-config. Jirka gd-2.0.35-3.fc8 has been submitted as an update for Fedora 8 gd-2.0.35-3.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gd'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-3296 Jirka, The package in testing fixed all issues. Now it returns -lgd as expected (the current F8 package is really returning -ldg, which breaks configure scripts relying on it, so it is welcome to push the package to updates). Thanks. gd-2.0.35-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |