Skip to content
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

libign_ros2_control-system.so: undefined symbol #372

Open
august779188 opened this issue Jul 9, 2024 · 2 comments
Open

libign_ros2_control-system.so: undefined symbol #372

august779188 opened this issue Jul 9, 2024 · 2 comments

Comments

@august779188
Copy link

When I run this command:ros2 launch ign_ros2_control_demos cart_example_effort.launch.py,
the whole program crashes and the log output is ign gazebo server:

  • symbol lookup error: /opt/ros/humble/lib/libign_ros2_control-system.so: undefined symbol: _ZN18hardware_interface15ResourceManager9load_urdfERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbb

  • [ERROR] [ros2-4]: process has died [pid 26055, exit code 2, cmd 'ros2 control load_controller --set-state active joint_state_broadcaster'].

Is there a solution?

@christophfroehlich
Copy link
Contributor

Which operating system are you using, and how did you install ign_ros2_control?

@christophfroehlich christophfroehlich changed the title Add ros2_control tag and ign_ros2_control plugin to a URDF libign_ros2_control-system.so: undefined symbol Jul 12, 2024
@andreacelani
Copy link

I fixed with:
sudo apt-get update
sudo apt-get upgrade

and then compiling from source.

I also added:
export IGN_GAZEBO_SYSTEM_PLUGIN_PATH=/opt/ros/humble/lib/
export GZ_SIM_SYSTEM_PLUGIN_PATH=/opt/ros/humble/lib/

to .bashrc

hope this help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants