[ros-users] ROS Installation on Red Hat: No rule to make target 'lib64/lib64/libboost_thread-mt"

Ruben Smits ruben.smits at intermodalics.eu
Fri Aug 10 09:53:30 UTC 2012


Hello Grace Lee,

On Fri, Aug 10, 2012 at 10:16 AM, Ruben Smits
<ruben.smits at intermodalics.eu>wrote:

> Hello Grace Lee,
>
> On Thu, Jul 5, 2012 at 11:24 PM, Yeon Grace Lee <yeongrace.lee at gmail.com>wrote:
>
>> 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?
>>
>>
> I'm doing the same on a RHEL 6.1 and can confirm the behavior, I haven't
> found the problem yet though. I'll let you know as soon as I find out.
>

This seems to be a bug in CMake introduced since 2.8.4 as reported on
stackoverflow:
http://stackoverflow.com/questions/9948375/cmake-find-package-succeeds-but-returns-wrong-path
.
I suggest you downgrade cmake to 2.8.3 for the time being.

Ruben


> Ruben
>
>
>> 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
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>
>
>
> --
> Ruben Smits, Phd
> Chief Technology Officer
> Intermodalics BVBA
> +32479511786
> www.intermodalics.eu
>



-- 
Ruben Smits, Phd
Chief Technology Officer
Intermodalics BVBA
+32479511786
www.intermodalics.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20120810/a53150cb/attachment-0004.html>


More information about the ros-users mailing list