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

rosmake error: cannot find -lblas

asked 2013-12-30 14:45:08 -0500

JTan gravatar image

updated 2013-12-30 23:47:51 -0500

gvdhoorn gravatar image

got the files from another person who is using ros fuerte(I don't know if this matters). When I try to use rosmake to build the package, the following error message pops up after couple of seconds and don't know why.. Need help..

/usr/bin/ld: cannot find -lblas
/usr/bin/ld: cannot find -llapack
collect2: ld returned 1 exit status
make[4]: *** [../bin/drone_stateestimation] Error 1
make[4]: Leaving directory `/home/jialiang/ros_workspace/src/tum_ardrone/build'
make[3]: *** [CMakeFiles/drone_stateestimation.dir/all] Error 2
make[3]: Leaving directory `/home/jialiang/ros_workspace/src/tum_ardrone/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jialiang/ros_workspace/src/tum_ardrone/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jialiang/ros_workspace/src/tum_ardrone'
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-30 23:49:30 -0500

gvdhoorn gravatar image

updated 2013-12-30 23:54:49 -0500

  1. Do 'the files' declare a dependency on any of those libraries?
  2. Do you actually have LAPACK installed on your system?

Seeing as you are trying to build tum_ardrone nodes, and drone_stateestimation in particular, it would seem tum-vision/tum_ardrone/manifest.xml is the associated manifest file. That actually contains proper rosdep keys:

<rosdep name="libblas-dev"/>
<rosdep name="liblapack-dev"/>

So you should be able to just use rosdep to check and install the dependencies.

edit flag offensive delete link more

Question Tools


Asked: 2013-12-30 14:45:08 -0500

Seen: 1,036 times

Last updated: Dec 30 '13