Krishtof-Korda / pcap-to-bag

Tool to convert ouster lidar sensor pcap files into rosbag files for use in ouster_example/ouster_ros
49 stars 12 forks source link

libclass_loader.so error #1

Closed ghthdckfid closed 2 years ago

ghthdckfid commented 3 years ago

i got ./pcap_to_bag: error while loading shared libraries: libclass_loader.so: cannot open shared object file: No such file or directory this message how can i solve it

Krishtof-Korda commented 3 years ago

@ghthdckfid

I've never seen this before. As far as I know we don't have this file in any of our code. Are you using this in combination with Ouster_example?

What are the steps you are doing to recreate this?

blakely3dnm commented 3 years ago

Hi,

I have the same issue. I am running ROS melodic and Ubuntu 18.04. ouster_example works as intended. To compile I had to install libpcap-dev and libtins-dev from ppm, however attempting to run the binary fails with error while loading shared libraries: libclass_loader.so: cannot open shared object file: No such file or directory

shuangxing93 commented 3 years ago

You need to source your ROS environment before running ./pcap_to_bag, it should fix the issue.

source /opt/ros/<distro>/setup.bash