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

Error getting RMW implementation identifier #478

Open
deepak-anzo opened this issue Nov 22, 2023 · 6 comments
Open

Error getting RMW implementation identifier #478

deepak-anzo opened this issue Nov 22, 2023 · 6 comments

Comments

@deepak-anzo
Copy link

Bug report

[rcl]: Error getting RMW implementation identifier / RMW implementation not installed (expected identifier of 'rmw_cyclonedds_cpp'), with error message 'failed to load shared library 'librmw_cyclonedds_cpp.so' due to dlopen error: libddsc.so.0: cannot open shared object file: No such file or directory, at ./src/shared_library.c:99, at ./src/functions.cpp:65', exiting with 1., at ./src/rcl/rmw_implementation_identifier_check.c:139

Required Info:

  • Operating System:
    • OS and version LUbuntu 22.04 ROS2 HUMBLE
  • Installation type:
  • Version or commit hash:
  • DDS implementation:
  • Client library (if applicable):
    • <! rclcpp -->
@clalancette
Copy link
Contributor

Can you give some information on what steps you followed to install Humble?

@deepak-anzo
Copy link
Author

Thank you for your reply.
I followed the the official documentation
https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html

@clalancette
Copy link
Contributor

So it kind of looks like the installation isn't correct, for some reason. Can you tell us:

  1. What commands you were running at the time
  2. What ls /opt/ros/humble/lib/x86_64-linux-gnu/libddsc* shows?

@0116lhc
Copy link

0116lhc commented Feb 26, 2024

I have the same situation, you can try sudo apt-get install -y ros-humble-rmw-cyclonedds-cpp

@fujitatomoya
Copy link
Contributor

@deepak-anzo can you go through https://docs.ros.org/en/humble/Installation/DDS-Implementations/Working-with-Eclipse-CycloneDDS.html? i think you are just missing the cyclone dds package.

@deepak-anzo
Copy link
Author

I found the solution for this.
Just put /opt/ros/humble/lib/x86_64-linux-gnu in your ld config file.

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

No branches or pull requests

4 participants