resource_retriever build failure on mac osx
Hello!
I'm trying to install ROS on my mac. I'm running the following now:
./src/catkin/bin/catkin_make_isolated --install
Apparently resource retriever is not friendly enough with my libcurl. Do I need resource retriever in the first place?
Here is the error I get:
Undefined symbols for architecture x86_64: "_curl_easy_cleanup", referenced from: resource_retriever::Retriever::~Retriever() in retriever.cpp.o
Here is the full log:
==> Processing catkin package: 'resource_retriever' ==> Building with env: '/Users/olegsinyavskiy/ros_catkin_ws/install_isolated/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/Users/olegsinyavskiy/ros_catkin_ws/build_isolated/resource_retriever' ==> make -j4 -l4 in '/Users/olegsinyavskiy/ros_catkin_ws/build_isolated/resource_retriever' Linking CXX shared library /Users/olegsinyavskiy/ros_catkin_ws/devel_isolated/resource_retriever/lib/libresource_retriever.dylib ld: warning: ignoring file /Library/Frameworks//libcurl.framework/libcurl, missing required architecture x86_64 in file /Library/Frameworks//libcurl.framework/libcurl (2 slices) Undefined symbols for architecture x86_64: "_curl_easy_cleanup", referenced from: resource_retriever::Retriever::~Retriever() in retriever.cpp.o "_curl_easy_init", referenced from: resource_retriever::Retriever::Retriever() in retriever.cpp.o "_curl_easy_perform", referenced from: resource_retriever::Retriever::get(std::string const&) in retriever.cpp.o "_curl_easy_setopt", referenced from: resource_retriever::Retriever::get(std::string const&) in retriever.cpp.o "_curl_global_cleanup", referenced from: resource_retriever::CURLStaticInit::~CURLStaticInit() in retriever.cpp.o "_curl_global_init", referenced from: resource_retriever::CURLStaticInit::CURLStaticInit() in retriever.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: * [/Users/olegsinyavskiy/ros_catkin_ws/devel_isolated/resource_retriever/lib/libresource_retriever.dylib] Error 1 make[1]: [CMakeFiles/resource_retriever.dir/all] Error 2 make: ** [all] Error 2 <== Failed to process package 'resource_retriever': Command '/Users/olegsinyavskiy/ros_catkin_ws/install_isolated/env.sh make -j4 -l4' returned non-zero exit status 2
I have faced the same problem. Did you solve it or not?
I just got the same error when decided to rebuild hydro. Moreover I have it built in /opt/ros/hydro/ros. Probably I have changed something between the builds.