Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

I'm trying to get player with stage installed on Ubuntu 11.04. I keeping getting this error.
"player: error while loading shared libraries: libplayerdrivers.so.3.0: cannot open shared object file: No such file or directory". So far I have not got player working yet so have not installed stage.
Player-Stage is for testing robots before you build them. I did the updates and did install as sudo.

I have never worked with that program, so that being said.... What is the actual command you use to run it from the command line? I ask because I would like for you to run the following, and post the output of the command, along with the architecture of your processor (32 or 64 bit):

I have never worked with that program, so that being said.... What is the actual command you use to run it from the command line? I ask because I would like for you to run the following, and post the output of the command, along with the architecture of your processor (32 or 64 bit):

Code:

ldd -v COMMAND

Cheers,

Josh

player /usr/local/share/player/config/dummy.cfg
is the command. I am running 64 bit ubuntu on a Alienware laptop with ubuntu 11.04 installed inside of windows 7.

reactor@ubuntu:~$ ldd -v player /usr/local/share/player/config/dummy.cfg
player:
ldd: ./player: No such file or directory
/usr/local/share/player/config/dummy.cfg:
not a dynamic executable
reactor@ubuntu:~$

Here is the output I am suppose to get when I run my command but I am not getting it.

And you are absolutely sure, they all have a perfect match with Player,
and the executables :
/usr/bin/robot-player
/usr/bin/robot-playercam
/usr/bin/robot-playerjoy
/usr/bin/robot-playernav
/usr/bin/robot-playerprint
/usr/bin/robot-playerv
/usr/bin/robot-playervcr
/usr/bin/robot-playerwritemap
/usr/bin/robot-pmaptesthttp://packages.ubuntu.com/natty/amd...layer/filelist

And you are absolutely sure, they all have a perfect match with Player,
and the executables :
/usr/bin/robot-player
/usr/bin/robot-playercam
/usr/bin/robot-playerjoy
/usr/bin/robot-playernav
/usr/bin/robot-playerprint
/usr/bin/robot-playerv
/usr/bin/robot-playervcr
/usr/bin/robot-playerwritemap
/usr/bin/robot-pmaptesthttp://packages.ubuntu.com/natty/amd...layer/filelist

..

Well I would not believe it had I not seen it with my own eyes. Here is my output.

* Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public License.
* Player comes with ABSOLUTELY NO WARRANTY. This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.

listening on 6665
Listening on ports: 6665

Do you know if stage and gazebo can be installed with a ubuntu package? or Should I just use the tar packages? But as for installing player you solved my problem. Thanks. Moving on.....

You can try to install the packages, if your version 4 fails.
(The Ubuntu packages are easy to remove later, if unwanted.)
The stage packages were created on Ubuntu 10.04 :
Add 'lucid' to /etc/apt/sources.list ...

You can try to install the packages, if your version 4 fails.
(The Ubuntu packages are easy to remove later, if unwanted.)
The stage packages were created on Ubuntu 10.04 :
Add 'lucid' to /etc/apt/sources.list ...

Well I got to reading this message and started down-loading before I got to the in and saw your line to install automatically over the Internet.

Anyway when I tried the line it said I already had the newest version. Here are the files for documentation just case anyone else wants to follow what I have done. I downloaded them and installed this per the software manager on ubuntu but I had to install these in order to satisfy dependencies.

* Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public License.
* Player comes with ABSOLUTELY NO WARRANTY. This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.

Well I went back and started all over again. I installed both player and stage per the apt-get commands and got errors when I tried to run stage. So, I again started all over again and installed player per the apt-get command but I installed stage from source code. What I got was when I ran the player simple.cfg in the stage source file I got these errors.

* Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public License.
* Player comes with ABSOLUTELY NO WARRANTY. This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.

Now here is the kicker. When I ran stage simple.world I got the nice big window to move and play with the robot. I also ran another world file and again I got the nice big window that looked at pac-man with a robot and it worked. But, my robot-player is not playing its simple.cfg file. Huh.......... Back to the drawing board. Any help would be greatly appreciated.

Well I went back to loading the source code and come back full circle to where I was from the beginning. Here is my error.

reactor@ubuntu:/usr/local/share/player/config$ player simple.cfg
player: error while loading shared libraries: libplayertcp.so.3.0: cannot open shared object file: No such file or directory

I went back and installed the missing libs but I did not install the player because I used the source. And it worked but to a certain degree. Per some advice I got from the player stage mailing list I had to edit my simple.cfg file and change p2os_position to just p2pos. When I ran the script again now I get my intended output.

* Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public License.
* Player comes with ABSOLUTELY NO WARRANTY. This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.

listening on 6665
Listening on ports: 6665

Now I am going back to install stage and I hope to lord it works this time. Thank you for pointing those libs out to me. I will be back with my stage results.

Well I used the source code to install stage then went back to the ubuntu libraries to get the specific libs I needed because I was getting errors about not finding stuff then I started getting memory segmentation errors. No luck yet.