Skip to content

Build error: cannot find -lyaml-0 #718

@Tacha-S

Description

@Tacha-S

When building the project on Jazzy, the linker fails with the following error:

/usr/bin/ld: cannot find -lyaml-0: No such file or directory
collect2: error: ld returned 1 exit status
gmake[2]: *** [motion_planning_tasks/properties/CMakeFiles/motion_planning_tasks_properties.dir/build.make:438: motion_planning_tasks/properties/libmotion_planning_tasks_properties.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:461: motion_planning_tasks/properties/CMakeFiles/motion_planning_tasks_properties.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:146: all] Error 2

Steps to Reproduce

  1. Clone the repository (or clean build cache)
  2. Run colcon build
  3. The build fails during the linking stage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions