shared libraries from catkin workspace lib directory before default ros

asked 2016-06-29 10:46:53 -0600

tiagoraulp gravatar image

I installed ROS in the NAO's operating system (Gentoo) following these instructions.

Because I was having some problems with tf2, I compiled it from source in a catkin workspace. However during runtime it is linking with the default ROS libraries, and not the one in my workspace. A similar question can be found here.

I verified that when I source the setup scripts from my workspace the LD_LIBRARY_PATH is not updated. Only the ROS environment variables change. If I update LD_LIBRARY_PATH manually, everything works fine.

My question is, why is the setup script not updating the library path?

edit retag flag offensive close merge delete

Comments

You should check out the new ROS Gentoo installation method for Lunar! (you can follow the same guide for indigo and kinetic).

allenh1 gravatar image allenh1  ( 2017-07-14 12:31:45 -0600 )edit