ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Failed to load library /opt/ros/noetic/lib//libspatio_temporal_voxel_layer.so

asked 2022-07-12 22:18:06 -0600

ERROR = " what(): Failed to load library /opt/ros/noetic/lib//libspatio_temporal_voxel_layer.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /opt/ros/noetic/lib//libspatio_temporal_voxel_layer.so: undefined symbol: _ZN10costmap_2d12CostmapLayer9clearAreaEiiiib)"

  • Installed ok = "sudo apt-get install ros-noetic-spatio-temporal-voxel-layer" = (/ros-noetic-spatio-temporal-voxel-layer_1.4.5-1focal.20220621.182041_amd64.deb)
  • library libspatio_temporal_voxel_layer.so does exist in library /opt/ros/noetic/lib//
  • using your standard_indoor_environment_config.yaml: e.g. "{name: rgbd_obstacle_layer, type: "spatio_temporal_voxel_layer/SpatioTemporalVoxelLayer"}"
  • tried re-installing... have not yet tried to compile from code (Install from source)...

Error msq is same if using amcl NAV launch, or RTABmap launch.

? any advice please ?

Thanks

Mike

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-07-14 22:29:28 -0600

updated 2022-07-17 23:43:26 -0600

I now see there is a long history to this ... @ https://github.com/SteveMacenski/spatio_temporal_voxel_layer/issues/167

Now compiled ok from source, with libopenvdb6.2/focal 6.2.1-8ubuntu1.1 amd64, and: "LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2".

This runs ok. So it seems it was the apt install binary that failed on Ubuntu 20.04

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-07-12 22:18:06 -0600

Seen: 775 times

Last updated: Jul 17 '22