[opensuse-packaging] unexpected RPATH set for x86_64
![](https://seccdn.libravatar.org/avatar/0b594dc0849e09f09d75fc536f64dbed.jpg?s=120&d=mm&r=g)
Hi, Today I encountered this issue: https://build.opensuse.org/build/home:MargueriteSu:branches:X11:Cinnamon:Fac... there're two unexpected RPATH: -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 while they don't appear on i586. someone points out that it may be from pkgconfig files of the dependencies. https://bugzilla.opensuse.org/show_bug.cgi?id=902421 But I installed all the BuildRequires and ran "grep -r 'rpath' /usr/lib64/pkgconfig", it returned nothing. Anyone knows why? Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/b1966ffac861531a1d6494248e650a12.jpg?s=120&d=mm&r=g)
* Marguerite Su (i@marguerite.su) [20150812 15:28]:
-Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64
while they don't appear on i586. someone points out that it may be from pkgconfig files of the dependencies.
Have you checked config.rpath which gets installed by autopoint run from autogen.sh? On a quick glance that could very well be the reason rpath is being set for x86-64. hth Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/0b594dc0849e09f09d75fc536f64dbed.jpg?s=120&d=mm&r=g)
Hi, Philipp, I just found that ! opened a bug report: https://bugzilla.opensuse.org/show_bug.cgi?id=941629 seems x86_64 doens't pass the host_os test or something to set hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' to null Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Marguerite Su
-
Philipp Thomas