Bug 479379

Summary: Stop using RPATH with the standard library path
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: pidginAssignee: Warren Togami <wtogami>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: stu, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-24 15:25:20 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 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