rapyuta-robotics / rclUE

Apache License 2.0
130 stars 33 forks source link

Warning: dlopen failed: libpython3.8.so.1.0: cannot open shared object file: No such file or directory #74

Closed tomkimsour closed 1 year ago

tomkimsour commented 1 year ago

after running ./run_editor.sh /home/crossing/Documents/Unreal\ Projects/turtlebot3-UE\ 5.0 /home/crossing/UnrealEngine/Engine/Binaries/Linux/UnrealEditor

I am getting this error :

LogPixelStreaming: Initialising Pixel Streaming settings.
LogAudio: Display: Registering Engine Module Parameter Interfaces...
LogMetasoundEngine: MetaSound Engine Initialized
LogPython: Using Python 3.9.7
LogCore: Warning: dlopen failed: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

However the only version of python installed on my computer is 3.10.6 , is there a way to upgrade the dependancy of the file ? If so, which file are we looking at and how is it even able to find python 3.9.7 ?

yuokamoto commented 1 year ago
chalice-graeme commented 1 year ago

Unreal embeds Python. That is likely what you're seeing with regards to the version, but I have no idea why it wouldn't be able to find a library for it.

james-yoo commented 1 year ago

I had exactly same issue and resolved by install 'python3.8' and 'python3.8-dev'. However, another issue has occurred regarding of 'RMW' as below(I confirmed that 'rmw_fastrtps_cpp' has installed by 'apt install ros-humble-rmw-fastrtps-cpp').

[ERROR] [1672537372.036080733] [rcl]: Error getting RMW implementation identifier / RMW implementation not installed (expected identifier of 'rmw_fastrtps_cpp'), with error message 'failed to load shared library 'librmw_fastrtps_cpp.so' due to dlopen error: libtinyxml2.so.6: cannot open shared object file: No such file or directory, at /home/yu/UE_tools/BuildROS2/ros2_ws/src/ros2/rcutils/src/shared_library.c:99, at /home/yu/UE_tools/BuildROS2/ros2_ws/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:67', exiting with 1., at /home/yu/UE_tools/BuildROS2/ros2_ws/src/ros2/rcl/rcl/src/rcl/rmw_implementation_identifier_check.c:145

I am testing under following condition: