ros2 / rmw_cyclonedds

ROS 2 RMW layer for Eclipse Cyclone DDS
Apache License 2.0
107 stars 89 forks source link

Error getting RMW implementation identifier #478

Open deepak-anzo opened 7 months ago

deepak-anzo commented 7 months 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 7 months ago

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

deepak-anzo commented 7 months 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 7 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 4 months ago

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

fujitatomoya commented 4 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 4 months ago

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