PlaneShift
Support => Linux Specific Issues => Topic started by: Shadowmeph on March 01, 2008, 09:47:23 pm
-
I am sure that the server is not up and running yet but after I installed I tried to click on any of the desktop icons and the only one that does anything is the uninstaller am I doing or did I do something wrong? or is this normal?
-
Try opening a console, cd into your Planeshift folder (optionally make sure you are in the proper one by ls), and do a
/.pssetup
Whats happening then?
-
Try opening a console, cd into your Planeshift folder (optionally make sure you are in the proper one by ls), and do a
/.pssetup
Whats happening then?
hmm I think I know what has happened it installed inside the Planetshift folder but it made another Planetshift folder inside the first one lol now if this was windows all I would do is create a new shortcut but being this is Linux ( and I am new to Linux)I don't know how to do this
-
Easiest way may be via your filemanager: Which one do you use? Or for the first, what linux are you running at all? Xbuntu? Suse? Debian? .. ?
but can also reinstall Planeshift, and while being asked for the path to install, make sure the field showing "opt" is blank.
-
ok I will try the reinstall
Oh And thank you for your help
-
Just dont forget to delete the old install by times;)
-
ok I will try the reinstall
Oh And thank you for your help
my Linux client is Ubuntu Gutsy
it is telling me that the dir/opt is not writable by the current user
-
then when you installed you did not let the installer fix the perms, run the installer again and make sure it sets the perms
-
then when you installed you did not let the installer fix the perms, run the installer again and make sure it sets the perms
what are perms? permissions?
-
Yes.
-
I posted the answer to this in another forum ...
psclient, pssetup etc.. is looking in the wrong place for the binary.
I installed this from my home dir to opt and its trying to run ~/opt/Planeshift/pssetup instead of /opt/Planeshift/pssetup
my workaround was to put a symbolic link in my home dir to /opt.
Here's what the psclient/pssetup script is doing
user@3f00:~$ /opt/PlaneShift/psclient
+ R=/home/user//opt/PlaneShift/psclient
+ R=/home/user//opt/PlaneShift
+ cd /home/user//opt/PlaneShift
/opt/PlaneShift/psclient: line 5: cd: /home/user//opt/PlaneShift: No such file
or directory
+ chmod 770 psclient.bin
chmod: cannot access `psclient.bin': No such file or directory
+ export 'LD_LIBRARY_PATH=libs/:$LD_LIBRARY_PATH'
+ LD_LIBRARY_PATH='libs/:$LD_LIBRARY_PATH'
+ exec ./psclient.bin
/opt/PlaneShift/psclient: line 8: /home/user/psclient.bin: No such file or dir ectory
/opt/PlaneShift/psclient: line 8: exec: /home/user/psclient.bin: cannot execut e: No such file or directory
-
I am getting an error when I try to run psclient. I can run pssetup successfully but cannot lauch from there either.
xxxx@thecelt:/opt/PlaneShift> ./psclient
chmod: changing permissions of `psclient.bin': Operation not permitted
Missing `=' on line 187 of /this/psclient.cfg
Your configuration files are in... /home/xxxx/.PlaneShift
DEBUG: Sound System Software Renderer Initializing...
planeshift.application.client:
PlaneShift Steel Blue (0.4.00)
This game uses Crystal Space Engine created by Jorrit and others
1.2.0 [Unix-x86-GCC]
341) LOG_ANY flag deactivated with no filter.
342) LOG_WEATHER flag deactivated with no filter.
342) LOG_SPAWN flag deactivated with no filter.
342) LOG_CELPERSIST flag deactivated with no filter.
342) LOG_PAWS flag deactivated with no filter.
342) LOG_GROUP flag deactivated with no filter.
342) LOG_CHEAT flag deactivated with no filter.
343) LOG_LINMOVE flag deactivated with no filter.
343) LOG_SPELLS flag deactivated with no filter.
343) LOG_NEWCHAR flag deactivated with no filter.
343) LOG_SUPERCLIENT flag deactivated with no filter.
343) LOG_EXCHANGES flag deactivated with no filter.
343) LOG_ADMIN flag deactivated with no filter.
344) LOG_STARTUP flag deactivated with no filter.
344) LOG_CHARACTER flag deactivated with no filter.
344) LOG_CONNECTIONS flag deactivated with no filter.
344) LOG_CHAT flag deactivated with no filter.
344) LOG_NET flag deactivated with no filter.
344) LOG_LOAD flag deactivated with no filter.
345) LOG_NPC flag deactivated with no filter.
345) LOG_TRADE flag deactivated with no filter.
345) LOG_SOUND flag deactivated with no filter.
345) LOG_COMBAT flag deactivated with no filter.
345) LOG_SKILLXP flag deactivated with no filter.
345) LOG_QUESTS flag deactivated with no filter.
346) LOG_SCRIPT flag deactivated with no filter.
346) LOG_MARRIAGE flag deactivated with no filter.
346) LOG_MESSAGES flag deactivated with no filter.
346) LOG_CACHE flag deactivated with no filter.
346) LOG_PETS flag deactivated with no filter.
346) LOG_USER flag deactivated with no filter.
347) LOG_LOOT flag deactivated with no filter.
347) LOG_DUELS flag deactivated with no filter.
347) LOG_TRIBES flag deactivated with no filter.
347) All LOGS are off.
Mounting skin: /this/art/skins/default.zip
602) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
603) Could not open image: >/this/art/gui/border/topleft.png<
603) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
603) Could not open image: >/this/art/gui/border/topright.png<
604) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
604) Could not open image: >/this/art/gui/border/bottomleft.png<
604) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
604) Could not open image: >/this/art/gui/border/bottomright.png<
604) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
604) Could not open image: >/this/art/gui/border/leftmiddle.png<
604) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
605) Could not open image: >/this/art/gui/border/rightmiddle.png<
605) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
605) Could not open image: >/this/art/gui/border/topmiddle.png<
605) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
605) Could not open image: >/this/art/gui/border/bottommiddle.png<
605) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
605) Could not open image: >/paws/base/maps/leather/top_left_1.png<
605) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
606) Could not open image: >/paws/base/maps/leather/top_right_1.png<
606) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
606) Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
606) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
606) Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
606) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
606) Could not open image: >/paws/base/maps/leather/left_1.png<
606) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
607) Could not open image: >/paws/base/maps/leather/right_1.png<
607) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
607) Could not open image: >/paws/base/maps/leather/top_1.png<
607) <src/common/paws/pawsimagedrawable.cpp:56 PreparePixmap>
607) Could not open image: >/paws/base/maps/leather/bottom_1.png<
Mounting skin: /planeshift/art/skins/base/client_base.zip
psEngine initialized.
Using fontsize 16 for resolution 1024x768
./psclient.bin: symbol lookup error: libs/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader
I checked the libs folder and the file is there
-
I'll have fixes for these issues out in the next day or so.
-
I'll have fixes for these issues out in the next day or so.
Thank you Xordan. \\o// ... and thank you for making Planeshift an enjoyable place for us Linux users
-
As a temporary fix for the libvorbisfile.so issue, you can copy your local /usr/lib/libvorbisfile.so.3.[whatever] to Planeshift/libs/libvorbisfile.so.3
example (may be different file locations for you):
cp /usr/lib/libvorbisfile.so.3.1.1 /opt/PlaneShift/libs/libvorbisfile.so.3
But backup the original file just in case it doesn't work for you. :)
-
As a temporary fix for the libvorbisfile.so issue, you can copy your local /usr/lib/libvorbisfile.so.3.[whatever] to Planeshift/libs/libvorbisfile.so.3
example (may be different file locations for you):
cp /usr/lib/libvorbisfile.so.3.1.1 /opt/PlaneShift/libs/libvorbisfile.so.3
But backup the original file just in case it doesn't work for you. :)
jruggle - Thanks that worked like a charm! :thumbup:
-
./psclient.bin: symbol lookup error: libs/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader
I checked the libs folder and the file is there
Assuming you already have libvorbis installed (look for libvorbis.so.3 in your /usr/lib/ or /usr/lib64/ directory) you can try moving or renaming the one in Planeshift's Libs directory. Worked for me.
@Shadowmeph
If you plan to install Planeshift for a specific user only, don't install it in the /opt directory - which requires elevated priveleges, install it in your /home/username where it'll create and populate a folder labelled PlaneShift on installation.
@Xordan
Thanks for the hard work, you guys glow in a blue hue.
-
I installed as root system wide with user:group set for my main user. When I try to run one of the programs from the commandline I get this error:
/opt/PlaneShift/psclient: line 8: exec: /home/bill/psclient.bin: cannot execute: No such file or directoryNow I did not uninstall the previous version rather changed its directory name and installed into /opt. Looking at /opt/PlaneShift/psclient I see:
R=$PWD/$0
R=${R%/*}
cd $R
chmod 770 psclient.bin
export LD_LIBRARY_PATH=libs/:\$LD_LIBRARY_PATH
exec ./psclient.bin $@
This seems very strange to me. Why is it doing all this and how is it supposed to work? The first line would seem to set the variable R to the PlaneShift subdirectory of the directory the current shell is in. That makes no sense in a system wide install because I want to run it from anywhere and not /opt.
The next line would seem to truncate itself to just PlaneShift but I am not certain that is what it actually means. The third line changes to this possibly non-existent directory. The fourth line would seem to only be needed once ever and not at all if set in the install. Once the wrong directory has been set in lines 1, 2 and 3 line 5 cannot possibly be correct and of course line 6 will result in file not found.
Could a functional script be posted please or have I parsed it completely wrong?
-
That is this issue: 4.0 issues on x64 (http://hydlaa.com/smf/index.php?topic=31685.0)
working script should be like: cd /opt/PlaneShift
export LD_LIBRARY_PATH=libs/:\$LD_LIBRARY_PATH
exec ./psclient.bin $@
EDIT:
You parsed it right. It's just broken.
-
worked for me, now I guess I might need to do the same to the other scripts.
by the way the line in the psclient.cfg ;-------------- Window Settings -------------- throws an error if you do not add the semicolon at the front. It doesn't do anything but throw the error as far as I can tell.
Looks like pssetup needed it and the updater too. sadly though, there does not seem to be a gui for the updater anymore so running it corrupted my install. Time to re-install ... no matter.
Looks like I do not need to re-install, just had to chmod +x a few files.
-
Hello !
Im trying it on Ubuntu Gutsy with Gnome, I have already copied the libvorbisfile.so.3 into libs and still get:
./psclient.bin: symbol lookup error: libs/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader
As base I have: libvorbisfile.so.3.2.0
Can this be a wrong version of this file which does not include this symbol ?
Or any other ideas ?
Sunshine
-
try deleting and not replacing PlaneShift/libs/libvorbisfile.so.3*
-
Did you try running the updater?
-
Thanks Xordan, the updater was the solution
Sunshine