ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

catking build failed when trying to install moveit on kinetic 16.04 (solved)

asked 2020-09-25 13:24:43 -0600

akahana gravatar image

updated 2020-10-27 05:33:10 -0600

gvdhoorn gravatar image

Hi! I'm getting a catkin build error when I'm trying to run catkin build. I'm following this tutorial: http://docs.ros.org/kinetic/api/movei...

It gives me this error message:

Errors     << moveit_tutorials:make /home/ubuntu/ws_moveit/logs/moveit_tutorials/build.make.000.log
/home/ubuntu/miniconda3/lib/libpng16.so.16: undefined reference to `inflateValidate@ZLIB_1.2.9'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/ubuntu/ws_moveit/devel/.private/moveit_tutorials/lib/moveit_tutorials/planning_scene_ros_api_tutorial] Error 1
make[1]: *** [doc/planning_scene_ros_api/CMakeFiles/planning_scene_ros_api_tutorial.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/ubuntu/miniconda3/lib/libpng16.so.16: undefined reference to `inflateValidate@ZLIB_1.2.9'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/ubuntu/ws_moveit/devel/.private/moveit_tutorials/lib/moveit_tutorials/motion_planning_pipeline_tutorial] Error 1
make[1]: *** [doc/motion_planning_pipeline/CMakeFiles/motion_planning_pipeline_tutorial.dir/all] Error 2
/home/ubuntu/miniconda3/lib/libpng16.so.16: undefined reference to `inflateValidate@ZLIB_1.2.9'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/ubuntu/ws_moveit/devel/.private/moveit_tutorials/lib/moveit_tutorials/motion_planning_api_tutorial] Error 1
make[1]: *** [doc/motion_planning_api/CMakeFiles/motion_planning_api_tutorial.dir/all] Error 2
make: *** [all] Error 2
cd /home/ubuntu/ws_moveit/build/moveit_tutorials; catkin build --get-env moveit_tutorials | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -


Failed     << moveit_tutorials:make                [ Exited with code 2 ]      
Failed    <<< moveit_tutorials                     [ 1 minute and 10.2 seconds ]

I'm new to ROS and I don't have much experience with Linux. Can someone help me please?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-09-28 12:46:17 -0600

fvd gravatar image

The reference to miniconda3 makes it look like your Python environment is not set up correctly. Consider installing on a clean system. And maybe upgrade to Melodic while you're at it, since Kinetic is close to its end of life.

edit flag offensive delete link more

Comments

I'll do that. Thank you for your help!

akahana gravatar image akahana  ( 2020-09-28 13:04:01 -0600 )edit

Did this solve the problem? If yes please mark the question as answered

fvd gravatar image fvd  ( 2020-10-26 07:00:13 -0600 )edit
1

Hi. Yes, the problem is solved. Thank you!

akahana gravatar image akahana  ( 2020-10-26 07:12:03 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-09-25 13:24:43 -0600

Seen: 184 times

Last updated: Oct 27 '20