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

{kirkstone} Fix ROS packages to use arch-specific directory for installing libraries #1057

Closed
wants to merge 3 commits into from

Conversation

robwoolley
Copy link
Collaborator

The CMake files in the ROS packages have "lib" hardcoded as the destination. We can set the right destination in Install() as well as set the Python site-packages directory to be dynamic based on whether being built for 32-bit or 64-bit platforms.

Many of the ROS packages are hardcoded to install to /usr/lib. This
causes problems for 64-bit machine that expect the libraries to be in
/usr/lib64.

Patch the destination in CMakeFiles.txt to use ${CMAKE_INSTALL_LIBDIR}
and set the PYTHON_INSTALL_DIR to a relative path using ${baselib}.

Signed-off-by: Rob Woolley <[email protected]>
This ensures that libyaml uses the architecture specific installation
directories for libraries on 64-bit platform.

Signed-off-by: Rob Woolley <[email protected]>
@robwoolley robwoolley changed the title Fix ROS packages to use arch-specific directory for installing libraries {kirkstone} Fix ROS packages to use arch-specific directory for installing libraries Nov 16, 2023
@robwoolley robwoolley closed this Apr 2, 2024
@robwoolley robwoolley deleted the fixlibdir branch April 2, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant