Mailinglist Archive: opensuse-buildservice (265 mails)

< Previous Next >
Re: [opensuse-buildservice] RPATH
  • From: Thomas Schmidt <tschmidt@xxxxxxx>
  • Date: Sun, 30 Nov 2008 14:18:41 +0100
  • Message-id: <493292B1.6060107@xxxxxxx>
Matwey V. Kornilov wrote:
Hi,

/usr/lib/rpm/brp-rpath says:

ERROR: RPATH "/usr/src/packages/BUILD/... on ... is not allowed

I think I understand why: just because the binary was linked with -rpath
RPMBUILDDIR/...
What is the correct solution of the problem? Should I patch the Makefile? Is
there way to change rpath in the linked binary?



I am removing the rpaths with
chrpath -d ${RPM_BUILD_ROOT}%{_libdir}/*.so
at the end of %install.
That also needs BuildRequires:chrpath to work.

Greetings

--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Tools
144 pixels ought to be enough for anybody,
www.blinkenlights.de
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
References