Bug 19156

Summary: Remove RPATH from libtool
Product: XCB Reporter: Michal Nowak <mnowak>
Component: UtilsAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: All   
URL: http://kojipkgs.fedoraproject.org/packages/xcb-util/0.3.1/2.fc11/data/logs/x86_64/build.log
Whiteboard:
i915 platform: i915 features:

Description Michal Nowak 2008-12-18 05:29:45 UTC
Build system is using RPATH:

...
/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -version-info 1:0:0  -o libxcb-atom.la -rpath /usr/lib64 libxcb_atom_la-atoms.lo -lxcb
...

Fedora guides suggests some way how to deal with RPATH for packagers, see https://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath

Debian guide suggest upstream "...to add the relocatable.m4 and lib-link.m4 macros (from the gettext source) might solve it", see http://wiki.debian.org/RpathIssue
Comment 1 Daniel Stone 2019-02-16 13:02:35 UTC
It's not really XCB's place to be trying to work around libtool. Alternate, better, build systems are available anyway.

(Plus, libtool relinks at install time to remove RPATH anyway, so it's only a transient build thing ...)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.