ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A

Ros2 alpha6 install problem


for some experimental reasons I have to install ros2 on Lubuntu 14.04.5 LTS, that leaves me only the ros2 version earlier than alpha6. So when I source the terminal and run talker, it gave me an error message:

talker: error while loading shared libraries: cannot open shared object file: No such file or directory.

I’m guessing I missed out some dependencies uninstalled, but the latest intalling tutorial is oriented to Beta version I suppose( ). So does anyone here still knows how to solve this problem?

Thank you very much!

In alpha 6 and earlier we were shiping ros2 with Opensplice as the default DDS implementation. is an opensplice library.
To install it you need to add to your sources:

sudo apt-key adv --keyserver --recv-keys D2486D2DD83DB69272AFE98867170598AF249743
 sudo bash -c 'echo "deb `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-latest.list'

and install libopensplice64:

sudo apt-get install libopensplice64

The installation instructions for alpha6 are available here:

Please be aware that many things changed in ROS 2 since alpha 6 (API, features, documentation, supported middleware) so we encourage users to use the latest release. You can run beta2 in a docker container for example.

$ docker run -it ubuntu:xenial
# apt update && apt install dirmngr
# apt-key adv --keyserver hkp:// --recv-keys 421C365BD9FF1F717815A3895523BAEEB01FA116
# sh -c 'echo "deb xenial main" > /etc/apt/sources.list.d/ros2-latest.list'
# apt update
# apt install ros-r2b2-*
# source /opt/ros/r2b2/setup.bash