New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make px4_sitl_rtps error #20424
Comments
I have fix it by reinstall fastdds from source. but new error is : mch@ubuntu:~/PX4-Autopilot/build/px4_sitl_rtps/src/modules/micrortps_bridge/micrortps_listener$ bin/x64Linux2.6gcc/sensor_combinedPublisherSubscriber subscriberbin/x64Linux2.6gcc/sensor_combinedPublisherSubscriber: error while loading shared libraries: libfastcdr.so.1: cannot open shared object file: No such file or directory
mch@ubuntu:~/PX4-Autopilot/build/px4_sitl_rtps/src/modules/micrortps_bridge/micrortps_listener$ |
@beniaminopozzan can you help me? |
after I try to install dds from binaries . error again: mch@ubuntu:~/PX4-Autopilot/build/px4_sitl_rtps/src/modules/micrortps_bridge/micrortps_listener$ ls -la /usr/local/lib/
total 53444
drwxr-xr-x 5 root root 4096 Oct 17 08:15 .
drwxr-xr-x 11 root root 4096 Oct 17 04:55 ..
drwxr-xr-x 3 root root 4096 Oct 17 07:49 cmake
drwxr-xr-x 3 root root 4096 Oct 17 00:14 foonathan_memory
-rw-r--r-- 1 root root 159762 Oct 17 08:02 libfastcdr.a
lrwxrwxrwx 1 root root 15 Oct 17 04:55 libfastcdr.so -> libfastcdr.so.1
lrwxrwxrwx 1 root root 20 Oct 17 07:49 libfastcdr.so.1 -> libfastcdr.so.1.0.25
-rw-r--r-- 1 root root 117016 Oct 17 04:39 libfastcdr.so.1.0.10
-rw-r--r-- 1 root root 108448 Oct 17 07:49 libfastcdr.so.1.0.25
-rw-r--r-- 1 root root 31031968 Oct 17 08:15 libfastrtps.a
lrwxrwxrwx 1 root root 18 Oct 17 08:02 libfastrtps.so -> libfastrtps.so.2.8
lrwxrwxrwx 1 root root 20 Oct 17 04:55 libfastrtps.so.2 -> libfastrtps.so.2.0.2
-rw-r--r-- 1 root root 10974208 Oct 17 04:55 libfastrtps.so.2.0.2
lrwxrwxrwx 1 root root 20 Oct 17 08:02 libfastrtps.so.2.8 -> libfastrtps.so.2.8.0
-rw-r--r-- 1 root root 11101128 Oct 17 08:02 libfastrtps.so.2.8.0
-rw-r--r-- 1 root root 1193802 Oct 17 00:14 libfoonathan_memory-0.7.1.a
mch@ubuntu:~/PX4-Autopilot/build/px4_sitl_rtps/src/modules/micrortps_bridge/micrortps_listener$ bin/x64Linux2.6gcc/sensor_combinedPublisherSubscriber subscriber
bin/x64Linux2.6gcc/sensor_combinedPublisherSubscriber: error while loading shared libraries: libfastcdr.so.1: cannot open shared object file: No such file or directory |
My fault, I forgot to add the environment variable: echo 'export LD_LIBRARY_PATH=/usr/local/lib/' >> ~/.bashrc |
The user manual should contain the correct environment variable settings: When running an instance of an application using eProsima Fast DDS, it must be linked with the library where the packages have been installed, /usr/local/lib/. There are two possibilities:
|
Describe the bug
To Reproduce
Steps to reproduce the behavior:
make px4_sitl_rtps
The text was updated successfully, but these errors were encountered: