-
Notifications
You must be signed in to change notification settings - Fork 301
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
ros1_bridge dynamic_bridge missing libroscpp.so #205
Comments
Have you sourced ROS 1? |
@dirk-thomas @dario-pedro I was getting the same error. So I sourced both
|
You need to source them in the other order - ROS 1 first, then ROS 2 - as described in the instructions. |
Assuming the previous comments have resolved the issue I will go ahead an close this ticket. Please feel free to continue commenting and if necessary the ticket can be reopened. |
Related to #205 Signed-off-by: Jose Luis Blanco Claraco <joseluisblancoc@gmail.com>
I am running into a similar problem. (Using Debian 9, Kinetic and Dashing from source) What I've done so far:
Building
I checked
The linker uses the ROS2 libraries for ROS1, which is obviously wrong. Actually, a lot more libraries get linked wrong, the
I have no further idea how to come around that problem, as I've already made a clean compilation of both workspaces, with double checking, that there was a clean environment. I appreciate any help or idea. Thanks in advance. |
set ros1 environment variablessource "/opt/ros/${ROS2_DISTRO}/setup.bash" set ros2 environment variablessource "/opt/ros2-lgsvl-bridge/install/setup.bash" only set ros2 environment topic , not set ros1 |
@ jackxia123
My operation is similar to yours, but it works fine. After comparison, I feel that the problem seems to be the lack of the following command line
I'm not sure it will work, but I think I can give it a try, hope it helps |
Bug report
Required Info:
When I run
docker ROS2 nightly
I get /opt/ros/dashing/lib/ros1_bridge/dynamic_bridge: error while loading shared libraries: libroscpp.so: cannot open shared object file: No such file or directoryAny idea how to solve it ?
The text was updated successfully, but these errors were encountered: