Gazebo | Ignition | Community
Ask Your Question
0

libgazebo_common.so.1: No such file or directory after Gazebo 1.4 Installation on Ubuntu 12.10 -

asked 2013-02-17 16:40:55 -0600

dereck gravatar image

I followed http://gazebosim.org/wiki/1.4/install and used the default install location.

When I try to launch gazebo I get the following error:

~$ source /usr/local/share/gazebo/setup.sh
~$ gazebo

gazebo: error while loading shared libraries: libgazebo_common.so.1: cannot open shared object file: No such file or directory

~$ find / -name 'libgazebo_common.so.1' 2>/dev/null

/usr/local/lib/libgazebo_common.so.1 
/home/dereck/gazebo/build/gazebo/common/libgazebo_common.so.1

~$ env

> SSH_AGENT_PID=1737
> GPG_AGENT_INFO=/run/user/dereck/keyring-hcjJLu/gpg:0:1
> TERM=xterm SHELL=/bin/bash
> ROS_ROOT=/opt/ros/groovy/share/ros
> XDG_SESSION_COOKIE=00143dd67d0a0c664e5456f400000002-1361031613.920579-1607093545
> ROS_PACKAGE_PATH=/opt/ros/groovy/share:/opt/ros/groovy/stacks
> ROS_MASTER_URI=http://localhost:11311
> WINDOWID=92274694
> GNOME_KEYRING_CONTROL=/run/user/dereck/keyring-hcjJLu
> GTK_MODULES=overlay-scrollbar
> USER=dereck
> LD_LIBRARY_PATH=/usr/local/lib/gazebo-1.4/plugins:/opt/ros/groovy/lib
> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 CPATH=/opt/ros/groovy/include
> SSH_AUTH_SOCK=/run/user/dereck/keyring-hcjJLu/ssh
> SESSION_MANAGER=local ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-02-17 16:54:37 -0600

dereck gravatar image

updated 2013-03-06 23:23:54 -0600

$ sudo gedit /usr/local/share/gazebo-1.5/setup.sh

replace

export LD_LIBRARY_PATH=/usr/local/lib/gazebo-1.5/plugins:${LD_LIBRARY_PATH}

with

export LD_LIBRARY_PATH=/usr/local/lib/gazebo-1.5/plugins:/usr/local/lib/:${LD_LIBRARY_PATH}

Note, you are adding '/usr/local/lib/:' to the LDLIBRARYPATH.

edit flag offensive delete link more
0

answered 2013-02-19 12:38:04 -0600

kiran adam gravatar image

Still I'm getting errors when I did the local install

Error [Server.cc:238] Could not open file[worlds/empty.world] Gazebo multi-robot simulator, version 1.4.6 Copyright (C) 2013 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Msg Waiting for master.....Warning [gazebo_main.cc:62] escalating to SIGKILL on client

edit flag offensive delete link more

Comments

That's not the same problem, I recommend you delete this 'answer' that you have made and ask a new question so that the right people will be able to see it. :)

dereck gravatar imagedereck ( 2013-03-06 23:25:24 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-02-17 16:40:55 -0600

Seen: 3,781 times

Last updated: Mar 06 '13