Bug 139199 - "freetype-config --libs" output is evil on amd64
"freetype-config --libs" output is evil on amd64
Status: CLOSED INSUFFICIENT_DATA
Product: Fedora
Classification: Fedora
Component: freetype (Show other bugs)
4
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Behdad Esfahbod
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-13 17:38 EST by Dan Winship
Modified: 2008-02-14 12:23 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-14 12:23:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Dan Winship 2004-11-13 17:38:39 EST
danw@blorple:vte> rpm -q freetype-devel
freetype-devel-2.1.9-1
danw@blorple:vte> freetype-config --libs
-L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz

The "don't output libdir if it's -L/usr/lib" hack needs to be
updated to know about lib64
Comment 1 Owen Taylor 2004-11-15 14:25:14 EST
Mailed upstream:

 http://www.freetype.org/pipermail/devel/2004-November/011135.html

Assuming nobody objects, I'll commit upstream and put in our package
in a few days.
Comment 2 Owen Taylor 2004-11-16 08:03:50 EST
Fixed upstream.

2004-11-16  Owen Taylor  <otaylor@redhat.com>

        * builds/unix/freetype-config.in: Supress -L$libdir for
        /usr/lib64 as well as /usr/lib. (Reported by Dan Winship -
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139199)
Comment 3 Hans de Goede 2005-08-13 02:15:07 EDT
I assume this also removes the horrible -Wl,--rpath -Wl,/usr/lib64 ?
That is just so wrong!

I was trying to test an alternative build of Mesa, using LD_LIBRARY_PATH to make
ppracer use the alternative build, but it got ignored by ld.so because of rpath,
which took me 2 hours to find out and workaround!
Comment 4 Nils Philippsen 2005-11-21 12:12:54 EST
AFAIK, Rawhide already contains fixed to that effect (comment #3) -- can we get
them into FC4 as well?
Comment 5 Nils Philippsen 2005-11-21 12:16:07 EST
Bumping product version.
Comment 6 Thorsten Leemhuis 2005-11-21 12:40:48 EST
(In reply to comment #4)
> AFAIK, Rawhide already contains fixed to that effect (comment #3) -- can we get
> them into FC4 as well?

The actual rawhide fix for the rpath problems was in Bug 160247

And Carl, just fyi: 173818 and 173819 bugs depend on this or need ugly
workarounds to avoid rpath problems. 
Comment 7 Benjamin Smedberg 2006-07-23 18:29:51 EDT
What is the RPM version that contains this fix? I can't seem to find it, FC5 has
this bug, and it's going to start biting Mozilla packages before too long.
Comment 8 Matthias Clasen 2006-11-27 01:12:44 EST
Benjamin, are you seeing the rpath output with the FC5 version of 
freetype-config ? 
The FC5 package definitively has the changes mentioned by Owen.
Comment 9 Benjamin Smedberg 2006-12-21 16:13:17 EST
Sorry, got confused: FC4 is broken and FC5 is fixed.
Comment 10 Christian Iseli 2007-01-22 06:20:15 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.
Comment 11 petrosyan 2008-02-14 12:23:05 EST
This bug seems to have been fixed in Fedora Core 5.

Fedora Core 4 is not maintained anymore.

Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.

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