[Rpm-maint] rpmbuild error with 4.4.2.2 (but not 4.4.2)

Joachim Worringen joachim at dolphinics.com
Thu Nov 29 10:21:40 UTC 2007


Ralf Corsepius schrieb:
> On Tue, 2007-11-27 at 17:30 +0100, Joachim Worringen wrote:
>>  I've seen that rpath is considered evil.
> When being used correctly, there is nothing wrong with using rpath (When
> installing libs into into /opt/<name>/lib or similar rpaths really make
> sense). 
> 
> In your case, it's your final binaries receiving incorrect paths
> hard-coded into it. rpath is visible, but it's very likely your binaries
> received further of them, getting into the binaries undiagnosed.

Because our RPMs have to be relocatable, we can not rely on rpath anyway 
but set up ld according to the final installation path (entry in 
/etc/ld.conf.d). That's why it didn't cause problems.

As I don't want to wokr against libtool if not necessary, we'll leave 
rpath as is.

  Joachim

-- 
Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 - http://www.dolphinics.com



More information about the Rpm-maint mailing list