lips-hci / ae400-realsense-sdk

LIPSedge™ AE400 Industrial 3D Camera RealSense™ SDK
https://www.lips-hci.com/product-page/lipsedge-ae400-industrial-3d-camera
Apache License 2.0
8 stars 3 forks source link

Ae400 Error while loading shared libs. #10

Open ranjitkathiriya opened 3 years ago

ranjitkathiriya commented 3 years ago

Hello there,

When I am running my real sense viewer in the default terminal then I am getting the below error.

Screenshot from 2021-11-02 09-00-22

before, I was going to directory kuka-ai@kukaai-ROG-Zephyrus-G15-GA502IU-GA502IU:~/Documents/ae400-realsense-sdk-AE400_v1.0.0.3_rs2.36.0/build_Release/tools/realsense-viewer$ ./realsense-viewer then I was running realsense-viewer then it is working fine.

I am a bit confused! is it possible to run a real sense-viewer as shown in the above image?

LIPS-HCI-FAE commented 3 years ago

Hi Ranjit,

The solution to this is to add your library directories to /etc/ld.so.conf (or a file in /etc/ld.so.conf.d/) and run ldconfig

  1. do "find / -name librealsense2.so.2" to find out where the library located.
  2. modify /etc/ld.so.conf or add file in "/etc/ld.so.conf.d/"
  3. add the path where librealsense2.so.2 located at the bottom line. (if you modify /etc/ld.so.conf)
  4. run ldconfig.

And it should work.

Best Regards

ranjitkathiriya commented 3 years ago

Thanks, I will have a look at this.