Open hplatou opened 4 months ago
After some further digging, this seems to be caused by my .so files being installed in a subfolder under lib
eg: install/package_name/lib/my_lib/xx.so
. I guess this issue belongs to the colcon-library-path
repo so reported a new issue there.
When building an
ament_cmake
packageld_library_path_lib.xx
files are generated in the install tree setting upLD_LIBRARY_PATH
(on Linux). This is not the case for build_type 'cmake'. Executables depending on these libraries will fail with xxx.so not found.Note: Running with
--symlink-install
this apparently works, as the dependent executables will find the libraries through therunpath
variable in the build executable.