I seem to recall that cmake removes the RPATH when you do make install.

I know that once I do a make install, the installed version "forgets"
where the build libraries in the build tree were - and then I have to do
an ldconfig /usr/lib64/assimilation or something about like that.

Jamie?


On 07/01/2013 10:12 AM, R P Herrold wrote:
>
> I am referred to:
>     http://jamielinux.fedorapeople.org/assimilation/SRPMS/
> from:
>     http://linux-ha.org/source-doc/assimilation/html/_getting_started.html
>
>
> which, under CentOS 6 has the 'rpath' problem in bulding
>
> ... ERROR   0002: file
> '/usr/lib64/python2.6/site-packages/assimilation/testcode/filetest'
> contains an invalid rpath
> '/home/herrold/rpmbuild/BUILD/assimilation-20130415hgb175c7a2ecd3/build/serverlib'
> in
> [/home/herrold/rpmbuild/BUILD/assimilation-20130415hgb175c7a2ecd3/build/clientlib:/home/herrold/rpmbuild/BUILD/assimilation-20130415hgb175c7a2ecd3/build/serverlib]
> error: Bad exit status from /var/tmp/rpm-tmp.XBklnl (%install)
>
>
> In the past I have used a fix as documented at:
>
> http://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
>
> but this is for projects using a ./configure approach, rather than
> cmake28 ...
>
>
> I _can_ take a battering ram to the rpmbuild RPATH checks, but
> removing the offending path seems more sensible.  The assimilation
> package seems not to have made into Fedora/RawHide, and perhaps this
> would be a goodness
>
> Thoughts?
>
> Thanks
>
> -- Russ herrold
> _______________________________________________
> Assimilation mailing list - Discovery-Driven Monitoring
> [email protected]
> http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
> http://assimmon.org/


-- 
    Alan Robertson <[email protected]> - @OSSAlanR

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to