[Rpm-maint] rpmbuild error with 126.96.36.199 (but not 4.4.2)
rc040203 at freenet.de
Thu Nov 29 10:42:49 UTC 2007
On Thu, 2007-11-29 at 11:21 +0100, Joachim Worringen wrote:
> 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.
Using a recent libtool and configuring with --disable-rpath is your
friend for your purpose ;)
More information about the Rpm-maint