This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JPCSP not working on Linux
#1
Tried to get JPCSP running on my Linux box but without luck. The distribution is broken and needs fixing. The build is jpcsp-2643-linux-amd64.7z .

If you try to run it you get this error:
Code:
Exception in thread "GUI" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
(... snip ... )
The error happens because liblwjgl.so does not exist in lib/linux-amd64 . What does exist though is liblwjgl64.so . A symlink fixes the problem:
Code:
ln -sf liblwjgl64.so liblwjgl.so
The correct fix is to strip 64 from the library name as the emulator seems to expect it without 64 suffix.

This is unfortunately not enough.

Code:
Exception in thread "GUI" java.lang.UnsatisfiedLinkError: /opt/games/emulation/jpcsp/lib/linux-amd64/liblwjgl64.so: libjawt.so: cannot open shared object file: No
such file or directory
(... snip ... )
This is a bug in lwjgl looking in the wrong place for the libs. A temporary fix is adding this before the java line in start-linux-amd64.sh :
Code:
export LD_LIBRARY_PATH=/usr/lib/icedtea7/jre/lib/amd64:${LD_LIBRARY_PATH}
Replace the path with the one of your java vm. This is only a temporary hack. The real fix is to use the non-broken lwjgl jar that fixed this problem.

Once these fixes are in place the emulator starts.



EDIT: Sound problem vanished. A dead process kept the device open.


EDIT: In the control window the combo box at the top is empty or shows two times the GamePad whereas the first entry seems to be the keyboard. If the list is empty saving causes a NullPointer exception.
Reply


Messages In This Thread
JPCSP not working on Linux - by Dragonlord - 07-25-2012, 03:15 PM
RE: JPCSP not working on Linux - by Itaru - 07-26-2012, 03:03 AM
RE: JPCSP not working on Linux - by Dragonlord - 07-26-2012, 12:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)