rpath joy

Patrice Dumas pertusus at free.fr
Sun Jun 11 09:07:21 UTC 2006


On Sun, Jun 11, 2006 at 08:17:32PM +1200, Michael J. Knox wrote:
> Hi all,
> 
> I am sure this has been beaten to death, however, I have not been able 
> to find much info on this.
> 
> I am trying to package up ntop for FE. However, I have a rpath error on 
> the plugins.. I get this:
> 
> ERROR   0002: file '/usr/lib/ntop/plugins/rrdPlugin.so' contains an 
> invalid rpath '/home/mjk/rpmbuild/BUILD/ntop-3.2/myrrd/.libs' in 
> [/home/mjk/rpmbuild/BUILD/ntop-3.2/myrrd/.libs]
> error: Bad exit status from /home/mjk/rpmbuild/tmp/rpm-tmp.53484 (%install)

Do you have a build log or could you give an explanation on how to 
reproduce your build?

In gnash there are rpath that appear when the plugin dll is copied with cp
instead of installed by libtool with libtool --install.

The make rule is:
	$(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $(plugin_LTLIBRARIES) "$(DESTDIR)$(plugindir)/$(plugin_LTLIBRARIES)"


--
Pat




More information about the fedora-extras-list mailing list