Skip to content

libign_ros2_control-system.so: undefined symbol #372

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

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

libign_ros2_control-system.so: undefined symbol #372

august779188 opened this issue Jul 9, 2024 · 4 comments
Labels

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

@Sathiyaseelan10
Copy link

the solution not workout for me.is there another solution for this

Copy link
Contributor

This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups.

@github-actions github-actions bot added the stale label Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants