Showing posts with label export path. Show all posts
Showing posts with label export path. Show all posts

Tuesday, October 20, 2009

Player/Stage reinstallation process

Hi everyone:

Today I downloaded the .tar.gz of the latest versions of player and stage. I installed them according to the instructions included on the INSTALL.txt files. I had no trouble installing player, however, once again I had some problems while exporting the paths of the libraries that Stage requires.

The first problem I had after installing Stage and running the simple.cfg file was the following one:
layer: error while loading shared libraries: libplayerdrivers.so.3.0:
cannot open shared object file: No such file or directory

This problem I solved by making a symbolic link (with ldconfig).

After doing this, the drivers library was no longer a problem, However, the following errors were then displayed:


error : Failed to load plugin stageplugin.
error : libtool reports error: file not found
error : plugin search path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/laura/playerstage/bin:/home/laura/playerstage/share/stage/worlds:/home/laura/Documents/Stage-3.2.0-Source/worlds:.:/usr/local/lib/
error : failed to load plugin: stageplugin
error : failed to parse config file simple.cfg driver blocks

The path being searched to find the plugin was quite disturbing... I remembered that I had already exported this paths during my first installation process some months ago.

I then eliminated some lines from the .bashrc files and made other exports with the help of Arturo and ended up with the following errors:

error : Failed to load plugin stageplugin.
error : libtool reports error: file not found
error : plugin search path: /home/laura/Documents/Stage-3.2.0-Source/worlds:.:/usr/local/lib/
error : failed to load plugin: stageplugin
error : failed to parse config file simple.cfg driver blocks

The path being searched now is only doubled, however we weren't able to find where was the first path located in order to get rid of it.

I also want to tell you that the newest versions of player stage have quite clear instructions in comparison with the previous ones. The indications of path exports are included and examples are relatively clear. This is why, if I don't find the solution to the path dilemma, I will start the installation all over again publishing every step I make in order for you to make some comments on the curious facts that you notice.

Regards!

Laura