Skip to content

**undefined symbol** ERROR #828

@kailiangshang

Description

@kailiangshang

when i use official docker file and run command docker run -it --rm my/ros:aptgetter

Dockerfile

FROM ros:rolling-ros-core as aptgetter \
RUN apt-get update && apt-get install -y \
ros-${ROS_DISTRO}-demo-nodes-cpp \
ros-${ROS_DISTRO}-demo-nodes-py && \
rm -rf /var/lib/apt/lists/*

CMD ["ros2", "launch", "demo_nodes_cpp", "talker_listener_launch.py"]

I get an error
[talker-1] /opt/ros/rolling/lib/demo_nodes_cpp/talker: symbol lookup error: /opt/ros/rolling/lib/demo_nodes_cpp/talker: undefined symbol: rcutils_strnlen
[listener-2] /opt/ros/rolling/lib/demo_nodes_cpp/listener: symbol lookup error: /opt/ros/rolling/lib/demo_nodes_cpp/listener: undefined symbol: rcutils_strnlen

Can you help me solve this problem, thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions