ros2 / rmw_cyclonedds

ROS 2 RMW layer for Eclipse Cyclone DDS
Apache License 2.0
117 stars 90 forks source link

Error getting RMW implementation identifier #478

Open deepak-anzo opened 1 year ago

deepak-anzo commented 1 year ago

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:

clalancette commented 1 year ago

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

deepak-anzo commented 1 year ago

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

clalancette commented 12 months ago

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 commented 9 months ago

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

fujitatomoya commented 9 months ago

@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 commented 9 months ago

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