Bug 479379 - Stop using RPATH with the standard library path
Summary: Stop using RPATH with the standard library path
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pidgin
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Warren Togami
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-09 07:44 UTC by Akira TAGOH
Modified: 2009-03-24 15:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-24 15:25:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2009-01-09 07:44:46 UTC
Description of problem:
https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath

Version-Release number of selected component (if applicable):
pidgin-2.5.3-1.fc10

How reproducible:
always

Steps to Reproduce:
1.readelf -a /usr/bin/pidgin | grep rpath
2.
3.
  
Actual results:
 0x000000000000000f (RPATH)              Library rpath: [/usr/lib64]

Expected results:
No rpath

Additional info:

Comment 1 Warren Togami 2009-01-27 03:11:14 UTC
Stu, any ideas how we can fix this without redoing autotools during rpmbuild?

Comment 2 Akira TAGOH 2009-01-27 04:42:10 UTC
does http://wiki.debian.org/RpathIssue help?

Comment 3 Stu Tomlinson 2009-01-27 15:03:04 UTC
changing the make & make install commands to use system libtool might help:

BuildRequires: libtool
...
make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
...
make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool install


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