Open osrf-migration opened 11 years ago
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Did you sudo apt-get update
before installing? The latest gazebo pre-release is 1.9.5 and the latest sdformat package is 1.4.4. Can you verify that you have these versions?
Original comment by Brian Axelrod (Bitbucket: brianaxelrod).
Interestingly enough my gzclient is 1.9.4 and my gzserver is 1.9.5.
I have sdformat 1.4.4 as well.
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
That's strange. Have you been building from source or only using debians? Would you mind attemping a sudo apt-get remove gazebo-prerelease gazebo gazebo-nightly
and then sudo apt-get install gazebo-prerelease
?
Original comment by Brian Axelrod (Bitbucket: brianaxelrod).
I seem to still be getting that error even after trying those commands.
I've built from source in the past so that may be the issue, but I was very careful to clean up before installing the debians, removing all the files installed by make install.
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Did you use make uninstall
when you removed those files? It can be tricky to catch them all. How about which gzserver
and which gzclient
?
Original comment by Brian Axelrod (Bitbucket: brianaxelrod).
which gzserver
gives /usr/bin/gzserver
and which gzclient
gives /usr/bin/gzclient
. I didn't use make uninstall, I instead used a script that looks at what make install does and undoes it (I'm not used to people actually writing working make uninstall
rules).
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Ok, I think I meant to say:
ls -l `which gzserver`
ls -l `which gzclient`
gzserver
and gzclient
are symlinks to versioned files like gzserver-1.9.5
.
Original comment by Brian Axelrod (Bitbucket: brianaxelrod).
lrwxrwxrwx 1 root root 14 Jul 18 00:04 /usr/bin/gzserver -> gzserver-1.9.5
lrwxrwxrwx 1 root root 14 Jul 18 00:04 /usr/bin/gzclient -> gzclient-1.9.5
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
So gzclient
looks like 1.9.5, but you said earlier that it was 1.9.4; how did it indicate that it was 1.9.4?
Original comment by Brian Axelrod (Bitbucket: brianaxelrod).
It was indicating that on startup. The full output for the two was:
Gazebo multi-robot simulator, version 1.9.4
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
and
Gazebo multi-robot simulator, version 1.9.5
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
I'm putting this on hold since it hasn't seen any updates recently. Please re-open if the problem persists.
Original report (archived issue) by Brian Axelrod (Bitbucket: brianaxelrod).
Hello,
I'm using the gazebo pre-release debians and sdformat and I got the following error: gazebo: error while loading shared libraries: libsdf.so.1: cannot open shared object file: No such file or directory
I fixed it by making a symlink from libsdf.so.1 to libsdformat.so.1. Is Gazebo expecting another version of sdformat than is available in debs?
I apt-get installed this on the computer this morning.