Cannot link directly with dylib/framework

asked 2020-06-10 14:23:51 -0500

hopemoran gravatar image

updated 2020-06-10 15:06:54 -0500

Hello,

I am following the instructions for "Creating a workspace" listed in the ROS2 tutorials linked here: https://index.ros.org/doc/ros2/Tutori... . When I run the command: colcon build I obtain the error below:

Starting >>> turtlesim --- stderr: turtlesim
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: ** * [libturtlesim__rosidl_typesupport_fastrtps_cpp.dylib] Error 1

make[1]: ** *[CMakeFiles/turtlesim__rosidl_typesupport_fastrtps_cpp.dir/all] Error 2

make: * ** [all] Error 2

Failed <<< turtlesim [ Exited with code 2 ]

Summary: 0 packages finished [1.67s] 1 package failed: turtlesim 1 package had stderr output: turtlesim

How can I solve this problem so I am able to build these packages that I need?

Thanks!

edit retag flag offensive close merge delete