colcon-cmake
colcon-cmake copied to clipboard
ld_library_path scripts not generated for build_type 'cmake'
When building an ament_cmake package ld_library_path_lib.xx files are generated in the install tree setting up LD_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 the runpath variable in the build executable.
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.