Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ld_library_path scripts not generated for build_type 'cmake' #137

Open
hplatou opened this issue Feb 29, 2024 · 1 comment
Open

ld_library_path scripts not generated for build_type 'cmake' #137

hplatou opened this issue Feb 29, 2024 · 1 comment

Comments

@hplatou
Copy link

hplatou commented Feb 29, 2024

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.

@hplatou
Copy link
Author

hplatou commented Mar 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant