Ask Your Question
0

ROS Installation on Red Hat: No rule to make target 'lib64/lib64/libboost_thread-mt

asked 2012-07-05 13:05:11 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Collapse all Expand all Print all In new window ROS Installation on Red Hat: No rule to make target 'lib64/lib64/libboost_thread-mt" Yeon Grace Lee

2:24 PM (1 hour ago)

to ros-users Hi everyone,

I am in the process of installing ROS (from Willow Garage) on my machine which currently runs Red Hat Release 6.2 (Santiago). When I run "make" inside root/build directory of Ros, I get an error that says "No rule to make target 'usr/lib64/lib64/libboost_thread-mt.so.5'. It's funny that it is looking for libboost in lib64/lib64, instead of just in the lib64 directory. Does anyone have any thoughts on where the path to libboost is set incorrectly?

Thanks,

Grace Lee

"Terminal output" Scanning dependencies of target rospack [ 10%] Building CXX object rospack/CMakeFiles/rospack.dir/src/rospack.cpp.o [ 10%] Building CXX object rospack/CMakeFiles/rospack.dir/src/rospack_backcompat.cpp.o [ 10%] Building CXX object rospack/CMakeFiles/rospack.dir/src/utils.cpp.o [ 11%] Building CXX object rospack/CMakeFiles/rospack.dir/src/rospack_cmdline.cpp.o [ 11%] Building CXX object rospack/CMakeFiles/rospack.dir/tinyxml-2.5.3/tinyxml.cpp.o [ 11%] Building CXX object rospack/CMakeFiles/rospack.dir/tinyxml-2.5.3/tinyxmlparser.cpp.o [ 11%] Building CXX object rospack/CMakeFiles/rospack.dir/tinyxml-2.5.3/tinyxmlerror.cpp.o Linking CXX shared library ../lib/librospack.so [ 11%] Built target rospack Scanning dependencies of target rospackexe [ 11%] Building CXX object rospack/CMakeFiles/rospackexe.dir/src/rospack_main.cpp.o Linking CXX executable ../bin/rospack [ 11%] Built target rospackexe Scanning dependencies of target rosstackexe [ 11%] Building CXX object rospack/CMakeFiles/rosstackexe.dir/src/rosstack_main.cpp.o Linking CXX executable ../bin/rosstack [ 11%] Built target rosstackexe Scanning dependencies of target roslib [ 11%] Building CXX object ros/core/roslib/CMakeFiles/roslib.dir/src/package.cpp.o make[2]: * No rule to make target /usr/lib64/lib64/libboost_thread-mt.so.5', needed by lib/libroslib.so'. Stop. make[1]: [ros/core/roslib/CMakeFiles/roslib.dir/all] Error 2 make: ** [all] Error 2

Reply

Forward

Yeon Grace Lee

2:29 PM (1 hour ago)

to ros-users Hi everyone,

I am in the process of installing ROS (from Willow Garage) on my machine which currently runs Red Hat Release 6.2 (Santiago). When I run "make" inside root/build directory of Ros, I get an error that says "No rule to make target 'usr/lib64/lib64/libboost_thread-mt.so.5'. It's funny that it is looking for libboost in lib64/lib64, instead of just in the lib64 directory. Does anyone have any thoughts on where the path to libboost is set incorrectly?

Thanks,

Grace Lee

"Terminal output" Scanning dependencies of target rospack [ 10%] Building CXX object rospack/CMakeFiles/rospack.dir/src/rospack.cpp.o [ 10%] Building CXX object rospack/CMakeFiles/rospack.dir/src/rospack_backcompat.cpp.o [ 10%] Building CXX object rospack/CMakeFiles/rospack.dir/src/utils.cpp.o [ 11%] Building CXX object rospack/CMakeFiles/rospack.dir/src/rospack_cmdline.cpp.o [ 11%] Building CXX object rospack/CMakeFiles/rospack.dir/tinyxml-2.5 ... (more)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-07-05 13:57:38 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

You can set the boost location with the $ROS_BOOST_PATH environment variable.

edit flag offensive delete link more
0

answered 2012-07-05 14:16:31 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

The above solution (setting ROS_BOOST_ROOT in .bash_profile) along with adding "export BOOST_LIBRARYDIR=/usr/lib64" fixed my problem. Thank you!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-05 13:05:11 -0500

Seen: 807 times

Last updated: Jul 05 '12