# ROS2 component failed to load at runtime

Hello,

I was dabbling around with some ros2 I was able to make a few components and run them at runtime with  ros2 component standalone <package name=""> <name of="" class="">  . It works for all my other components I have and everything compiles. However, this one component I have made - an action server - fails to get loaded at runtime. The Cmakelists is virtually the same for every component I have.

Here is the error (ros2 - foxy - ubuntu 20.04)

ros2 component standalone software_training composition::moving_turtle_action_server Failed to load component: Failed to load library: could not load library loadlibrary error: /home/niiquaye/ros2_training/install/software_training/lib/libmoving_turt_action.so: undefined symbol: _zn11composition27moving_turtle_action_server15linear_velocitye, at /tmp/binarydeb/ros-foxy-rcutils-1.1.3/src/shared_library.c:84, interrupting container node 

edit retag close merge delete