[ros-users] [Discourse.ros.org] [Next Generation ROS/Troubleshooting] ROS2 beta on Ubuntu 16.04 fails
William Woodall
ros.discourse at gmail.com
Mon Jan 30 23:13:28 UTC 2017
[quote="ufechner7, post:4, topic:1236"]
Firstly, the environment variable LD_LIBRARY_PATH is deleted byUbuntu for security reasons. Additional paths have to be addedto a new file in the directory /etc/ld.so.conf.d
[/quote]
That's surprising since we've never run into this on our Xenial machines. Perhaps you have a flavor of Ubuntu that is setting some additional security settings? According to their wiki you can set `LD_LIBRARY_PATH` so long as it is in an interactive shell:
https://help.ubuntu.com/community/EnvironmentVariables#File-location_related_variables
This sounds like one of the features macOS's SIP system (which we have to disable to get our binaries to work on macOS):
https://en.wikipedia.org/wiki/System_Integrity_Protection
> Furthermore, one package was missing:
> sudo apt-get install libpocofoundation9v5
We should probably add this to the prerequisites list (at least) on the binary installation wiki page: https://github.com/ros2/ros2/wiki/Linux-Install-Binary#installing-prerequisites
> Any idea, how to fix this?
As for the new error you're seeing, that's something we've seen before, basically for some reason it is trying to use two different backends for ROS 2 at the same time (one for message passing and a different one for type support) which results in that error. This usually doesn't happen in the binaries (unless I'm just unfamiliar with this problem with beta 1 on Linux) since we only build for Fast-RTPS in our binaries.
Can you double check you are not mixing the binaries and older binaries or builds of ROS 2?
---
[Visit Topic](https://discourse.ros.org/t/ros2-beta-on-ubuntu-16-04-fails/1236/5) or reply to this email to respond.
More information about the ros-users
mailing list