[ros-users] [freebsd] Installing ROS on FreeBSD

Brian Gerkey gerkey at willowgarage.com
Sun Sep 19 16:49:11 UTC 2010


On Sun, Sep 19, 2010 at 6:10 AM, Rene Ladan <rene at freebsd.org> wrote:
> On 19-09-2010 02:11, Brian Gerkey wrote:
>> To the specific issues that you're seeing:
>> (a) For the Ubuntu packages, we do something that I think on alternate
>> days to be clever and embarrassing, which is to use chrpath to rewrite
>> the rpath entries in the executables (including shared libs).  The
>> installation system I'm working on will handle the issue properly by
>> putting the libraries into a common lib directory and stripping all
>> rpath entries.  Either that lib directory is already in your
>> /etc/ld.so.conf (e.g., it's /usr/lib) or you can add it to your
>> LD_LIBRARY_PATH.
> On the short run, do you advice using this branch or the chrpath method
> above? I could add the chrpath method to the custom install target of
> the FreeBSD port.

The current installation system is far from being usable.  If you need
a short-term solution, chrpath is one way to go.  Of course it only
works if the new rpath value is shorter than the old one.

	brian.



More information about the ros-users mailing list