Bug 165875 - gdlib-config --ldflags should not output /usr/lib64 nor -Wl,--rpath
Summary: gdlib-config --ldflags should not output /usr/lib64 nor -Wl,--rpath
Alias: None
Product: Fedora
Classification: Fedora
Component: gd
Version: 4
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-08-13 06:32 UTC by Hans de Goede
Modified: 2015-03-05 01:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-09-07 15:19:07 UTC

Attachments (Terms of Use)

Description Hans de Goede 2005-08-13 06:32:25 UTC
On x86_64 "gdlib-config --ldflags" outputs:
-L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -L/usr/lib64 -L/usr/X11R6/lib64

The -L/usr/lib64 is not needed and certainly not twice!, but does no real harm.
Harm however is done by the long obsolete use of --rpath, which causes
LD_LIBRARY_PATH to be ignored, and there are real uses for LD_LIBRARY_PATH.

A similar bug in freetype-config has cost me 2 hours to find, this might even
have the same cause as the freetype0config bug, see bug 139199 .

Comment 1 Phil Knirsch 2005-09-07 13:57:49 UTC
Looking into it.

Read ya, Phil

Comment 2 Phil Knirsch 2005-09-07 15:19:07 UTC
OK, fixed by not including the broken freetype-config --libs flags.

Will be in next development package.

Read ya, Phil

Note You need to log in before you can comment on or make changes to this bug.