libsimExtROS2 cannot open error

Report crashes, strange behaviour, or apparent bugs
Post Reply
vj3
Posts: 2
Joined: 07 Mar 2023, 00:23

libsimExtROS2 cannot open error

Post by vj3 »

I am facing this error while opening Coppeliasim on ubuntu 20.04. I checked that this file `libsimExtROS2.so` exists in the folder. I have ROS Noetic setup on the machine but I have not sourced it in bash script.

Code: Select all

error: library ( /home/vidhij/peract_root/CoppeliaSim_20_04/libsimExtROS2.so ) load: "Cannot load library /home/vidhij/peract_root/CoppeliaSim_20_04/libsimExtROS2.so: (libstd_srvs__rosidl_typesupport_cpp.so: cannot open shared object file: No such file or directory)"
I am using RLBench, PyRep and Peract libraries which needs to make use of CoppeliaSim through python interface. Currently this error is increasing the loading time for the simulator. Here is the related issue on github https://github.com/peract/peract/issues ... 1611870781

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: libsimExtROS2 cannot open error

Post by fferri »

"noetic" is ROS 1, not ROS 2

vj3
Posts: 2
Joined: 07 Mar 2023, 00:23

Re: libsimExtROS2 cannot open error

Post by vj3 »

Yes, ROS Noetic is ROS 1 but coppeliaSim still wants to load libsimExtROS2.so file. In some cases, this error is skipped and simulator loads, but when loading from python script, the simulator load time is very slow, if it has not crashed already.

Code: Select all

error: library ( /home/vidhij/peract_root/CoppeliaSim_20_04/libsimExtROS2.so ) load: "Cannot load library /home/vidhij/peract_root/CoppeliaSim_20_04/libsimExtROS2.so: (libstd_srvs__rosidl_typesupport_cpp.so: cannot open shared object file: No such file or directory)"

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: libsimExtROS2 cannot open error

Post by fferri »

vj3 wrote: 14 Mar 2023, 23:26 Yes, ROS Noetic is ROS 1 but coppeliaSim still wants to load libsimExtROS2.so file.
So what?
CoppeliaSim will try to load all plugins matching libsimExt*.so in its directory.

A plugin failing to load should not cause any significant slowdown.
You can also consider removing the plugin .so from the coppeliaSim directory or renaming it so it won't be attempted to load.

Post Reply