[ros-users] [Discourse.ros.org] [Next Generation ROS/Troubleshooting] ROS2 beta on Ubuntu 16.04 fails

Uwe Fechner ros.discourse at gmail.com
Mon Jan 30 20:14:47 UTC 2017

The following changes solved two problems:

Firstly, the environment variable LD_LIBRARY_PATH is deleted by
Ubuntu for security reasons. Additional paths have to be added
to a new file in the directory /etc/ld.so.conf.d

For example by doing

sudo gedit /etc/ld.so.conf.d/ros2.conf

and adding the line:


    Replace <username> with your own username.

and executing
    sudo ldconfig

Furthermore, one package was missing:

sudo apt-get install libpocofoundation9v5


Now I get a different error message:

    ufechner at tuxedo:~$ talker
    terminate called after throwing an instance of 'std::runtime_error'
      what():  could not create publisher: type support not from this implementation, at /home/rosbuild/ci_scripts/ws/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/functions.cpp:782, at /home/rosbuild/ci_scripts/ws/src/ros2/rcl/rcl/src/rcl/publisher.c:81
    Aborted (core dumped)
    ufechner at tuxedo

Any idea, how to fix this?


[Visit Topic](https://discourse.ros.org/t/ros2-beta-on-ubuntu-16-04-fails/1236/4) or reply to this email to respond.

More information about the ros-users mailing list