colcon / colcon-ros

Extension for colcon to support ROS packages
http://colcon.readthedocs.io
Apache License 2.0
13 stars 26 forks source link

LD_LIBRARY_PATH not correctly set #148

Open rhaschke opened 10 months ago

rhaschke commented 10 months ago

I'm building my catkin workspace (yes ROS 1) with colcon build --merge-install --symlink-install. Additionally to #147, I now noticed that the LD_LIBRARY_PATH, which should be set via <ws>/install/setup.bash, is not including <ws>/install/lib, but only /opt/ros/<distro>/lib!

$ source install/setup.bash 
$ echo $LD_LIBRARY_PATH 
/opt/ros/one/lib:/opt/ros/one/lib/x86_64-linux-gnu