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

liblapack3gf imoprt error with py when running arbotix example from ROSByExample

asked 2013-03-27 19:11:22 -0500

Juan gravatar image

updated 2014-01-28 17:15:56 -0500

ngrennan gravatar image

Ubuntu 1210


When I run the very first example in ROSByExample (Fuerte) in Section 6.2 Testing the simulator, we call:

I get an error that seems to indicate that states "Import Error: cannot open shared object file: No such file or directory". But I am sure I have this lib in my computer. The complete console output is:

started roslaunch server http://vmrg-xps-15:42951/


 * /arbotix/baud
 * /arbotix/controllers/base_controller/Kd
 * /arbotix/controllers/base_controller/Ki
 * /arbotix/controllers/base_controller/Ko
 * /arbotix/controllers/base_controller/Kp
 * /arbotix/controllers/base_controller/accel_limit
 * /arbotix/controllers/base_controller/base_frame_id
 * /arbotix/controllers/base_controller/base_width
 * /arbotix/controllers/base_controller/ticks_meter
 * /arbotix/controllers/base_controller/type
 * /arbotix/port
 * /arbotix/rate
 * /arbotix/read_rate
 * /arbotix/sim
 * /arbotix/sync_read
 * /arbotix/sync_write
 * /arbotix/write_rate
 * /robot_description
 * /robot_state_publisher/publish_frequency
 * /rosdistro
 * /rosversion
 * /use_sim_time

    arbotix (arbotix_python/
    odom_left_wheel_broadcaster (tf/static_transform_publisher)
    odom_right_wheel_broadcaster (tf/static_transform_publisher)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)


core service [/rosout] found
process[arbotix-1]: started with pid [16038]
process[robot_state_publisher-2]: started with pid [16039]
[ERROR] [1364446895.621811044]: No name given for the robot.
[ERROR] [1364446895.622006176]: Could not generate robot model
[ERROR] [1364446895.622057192]: Failed to extract kdl tree from xml robot description
process[odom_left_wheel_broadcaster-3]: started with pid [16055]
process[odom_right_wheel_broadcaster-4]: started with pid [16074]
[robot_state_publisher-2] process has died [pid 16039, exit code 255, cmd /opt/ros/groovy/lib/robot_state_publisher/robot_state_publisher __name:=robot_state_publisher __log:=/home/vmrguser/.ros/log/062413d2-975b-11e2-b17e-c48508b13bfe/robot_state_publisher-2.log].
log file: /home/vmrguser/.ros/log/062413d2-975b-11e2-b17e-c48508b13bfe/robot_state_publisher-2*.log
Traceback (most recent call last):
  File "/home/vmrguser/rosGWS/sandbox/ROSByExample/arbotix/arbotix_python/nodes/", line 38, in <module>
    from arbotix_python.diff_controller import DiffController
  File "/home/vmrguser/rosGWS/sandbox/ROSByExample/arbotix/arbotix_python/src/arbotix_python/", line 38, in <module>
    from tf.broadcaster import TransformBroadcaster
  File "/opt/ros/groovy/lib/python2.7/dist-packages/tf/", line 29, in <module>
    from listener import TransformListener, TransformerROS
  File "/opt/ros/groovy/lib/python2.7/dist-packages/tf/", line 34, in <module>
    from tf import transformations
  File "/opt/ros/groovy/lib/python2.7/dist-packages/tf/", line 174, in <module>
    import numpy
  File "/usr/lib/python2.7/dist-packages/numpy/", line 137, in <module>
    import add_newdocs
  File "/usr/lib/python2.7/dist-packages/numpy/", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/usr/lib/python2.7/dist-packages/numpy/lib/", line 13, in <module>
    from polynomial import *
  File "/usr/lib/python2.7/dist-packages/numpy/lib/", line 17, in <module>
    from numpy.linalg import eigvals, lstsq
  File "/usr/lib/python2.7/dist-packages/numpy/linalg/", line 48, in <module>
    from linalg import *
  File "/usr/lib/python2.7/dist-packages/numpy/linalg/", line 23, in <module>
    from numpy.linalg import lapack_lite
ImportError: cannot open shared object file: No such file or directory
[arbotix-1] process has died [pid 16038, exit code 1, cmd /home/vmrguser/rosGWS/sandbox/ROSByExample/arbotix/arbotix_python/nodes/ __name:=arbotix __log:=/home/vmrguser/.ros/log/062413d2-975b-11e2-b17e-c48508b13bfe/arbotix-1.log].
log file: /home/vmrguser/.ros/log/062413d2-975b-11e2-b17e-c48508b13bfe/arbotix-1*.log ...
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-27 19:23:10 -0500

Juan gravatar image

updated 2013-03-27 22:29:15 -0500

The problem appears in the numpy/linalg/ module.

When I list the package using dpkg this is what i get:

 dpkg -l liblapack3gf 
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
ii  liblapack3gf   3.4.1-6      all          Transitional package for liblapac

I tried to reinstall the lib using sudo aptitude reinstall liblapack3gf but it did not work. I tried to do it for libblas3gf but also no effect.

I uninstalled libblas* and liblapack* and then reinstalled and that seemed to have helped. But the simulator in rviz still does not show properly...

edit flag offensive delete link more

Question Tools


Asked: 2013-03-27 19:11:22 -0500

Seen: 490 times

Last updated: Mar 27 '13