Bug 165875

Summary: gdlib-config --ldflags should not output /usr/lib64 nor -Wl,--rpath
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: gdAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-07 15:19:07 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 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