Tomadox Posted April 6, 2014 Posted April 6, 2014 Sorry, a bit new to Ubuntu and compiling packages, so excuse me if I am completely wrong about anything.I know there is a tutorial, and I have followed it to the letter. I have the assets folder, with all the necessary files.My problem is, I simply cannot run openjk.x86_64. Through terminal nothing ahppens, and normal execution produces no result either.Is there supposed to be an i386 file? I saw that mentioned at the bottom of the page on compilation guide. On a side note, I can run the openjkded.x86_64 file THROUGH TERMINAL, but that is a server file as far as I know and is not what I want. Is there any more detailed documentation, or should I blindly keep trying? Thanks or any help you can provide.
thepolis Posted April 9, 2014 Posted April 9, 2014 You may be missing runtime dependencies. You can use ldd to see which libraries are being linked and which ones are missing. $ ldd openjk.x86_64
Morabis Posted May 8, 2014 Posted May 8, 2014 Hello! I'm running Ubuntu 14.04 (Trusty) 64bit also I have the 32bit binaries for openjk. Running openjkded.i386 with terminal works fine as it has all the depencies: ~/Bin/jka_linux/GameData$ ldd openjkded.i386linux-gate.so.1 => (0xf77db000)libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf77a1000)libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf779c000)libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf76b2000)libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf766c000)libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf764f000)libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74a0000)/lib/ld-linux.so.2 (0xf77dc000) Though I have problem with openjk.i386. It's missing libSDL2.so.0 and I can't find the proper library to install. ~/Bin/jka_linux/GameData$ ldd openjk.i386linux-gate.so.1 => (0xf7769000)libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf772f000)libGL.so.1 => /usr/lib32/nvidia-331/libGL.so.1 (0xf762b000)libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf7621000)libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf7607000)libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf74d3000)libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf74c0000)libopenal.so.1 => /usr/lib/i386-linux-gnu/libopenal.so.1 (0xf746b000)libSDL2.so.0 => not foundlibpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf744e000)libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7365000)libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf731f000)libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7302000)libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7152000)libnvidia-tls.so.331.38 => /usr/lib32/nvidia-331/tls/libnvidia-tls.so.331.38 (0xf714e000)libnvidia-glcore.so.331.38 => /usr/lib32/nvidia-331/libnvidia-glcore.so.331.38 (0xf4f0a000)libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf4f05000)libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf4eff000)libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf4edc000)librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf4ed3000)/lib/ld-linux.so.2 (0xf776a000)libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf4ecf000)libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf4ec8000) Can someone help me please?
ensiform Posted May 8, 2014 Posted May 8, 2014 Search your repository maintainer for libsdl2 and libsdl2-devel stuff. (Not a linux user) http://libsdl.org/download-2.0.phpLinux: Please contact your distribution maintainer for updates.
Xycaleth Posted May 8, 2014 Posted May 8, 2014 If you're running the 32bit version of OpenJK, you'll also need SDL2 installed. Try something like, sudo apt-get install libsdl2:i386 in the terminal.
Morabis Posted May 8, 2014 Posted May 8, 2014 I did also installed the libsdl2-dev:i386. Now the problem is I have the libSDL2.so file in /usr/lib/i386-linux-gnu/ but game still requires libSDL2.so.0. What is the difference? :S
Xycaleth Posted May 8, 2014 Posted May 8, 2014 What do you get if you do, ls -l /usr/lib/i386-linux-gnu/libSDL* ?
Morabis Posted May 9, 2014 Posted May 9, 2014 (edited) lrwxrwxrwx 1 root root 20 márc 12 21:07 /usr/lib/i386-linux-gnu/libSDL2-2.0.so -> libSDL2-2.0.so.0.0.0lrwxrwxrwx 1 root root 20 márc 12 21:07 /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0 -> libSDL2-2.0.so.0.2.0-rw-r--r-- 1 root root 1091364 márc 12 21:07 /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.2.0-rw-r--r-- 1 root root 1485496 márc 12 21:07 /usr/lib/i386-linux-gnu/libSDL2.a-rw-r--r-- 1 root root 1068 márc 12 21:07 /usr/lib/i386-linux-gnu/libSDL2main.alrwxrwxrwx 1 root root 20 márc 12 21:07 /usr/lib/i386-linux-gnu/libSDL2.so -> libSDL2-2.0.so.0.2.0-rw-r--r-- 1 root root 224350 márc 12 21:07 /usr/lib/i386-linux-gnu/libSDL2_test.a edit: I also tried to rename libSDL2.so to libSDL2.so.0 and in this case the game started up in terminal but then it failed with an error belongs to rd-vanilla: ~/Bin/jka_linux/GameData$ ./openjk.i386OpenJK-MP: v1.0.1.0 linux-i386 Dec 23 2013----- FS_Startup -----Current search path:/home/csaky/.openjk/base./base/assets3.pk3 (16 files)./base/assets2.pk3 (62 files)./base/assets1.pk3 (8320 files)./base/assets0.pk3 (15346 files)./base ----------------------23744 files in pk3 filesexecing mpdefault.cfgcouldn't exec openjk.cfgcouldn't exec autoexec.cfg----- Initializing Renderer ----Trying to load "rd-vanilla_i386.so" from "."...Loading "rd-vanilla_i386.so" failed I have the rd-vanilla_i386.so file in the GameData folder. Edited May 9, 2014 by Morabis
Shadzy Posted May 9, 2014 Posted May 9, 2014 Morabis did this require any additional dependencies as well as SDL?
Morabis Posted May 9, 2014 Posted May 9, 2014 Yeah some others too. With the 'ldd' command you check a file for it's dependencies like ' ldd openjk.i386'. If it says for a file that it wasn't found than you miss that dependency. Several posts above you can see what dependencies are listed.
Xycaleth Posted May 9, 2014 Posted May 9, 2014 You have a pretty old version of OpenJK. You should try a newer (read: the newest) version. I'm not at my pc atm but I can upload the latest 64-bit version for you when I get home from work.
Shadzy Posted May 9, 2014 Posted May 9, 2014 Muchos appreciated Xyca, please post here if possible when you have done so
Xycaleth Posted May 9, 2014 Posted May 9, 2014 Try this: http://176.227.202.109/openjk-2014-05-06-15939504-linux-64.tar.gz You'll need to install the 64-bit version of SDL2 as well. Morabis likes this
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now