Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jamestown (Humble Bundle) #58

Closed
ghost opened this issue Sep 15, 2019 · 5 comments
Closed

Jamestown (Humble Bundle) #58

ghost opened this issue Sep 15, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 15, 2019

Version 1.0.2 seems to be accidentally linked against Steam...
https://bugzilla.icculus.org/show_bug.cgi?id=6036

I'm unsure what's going on here - after copying libsteam_api.so from Half-Life:

$ BOX86_LD_LIBRARY_PATH=./x86 ~/src/i386chroot/usr/src/box86/build/box86 Jamestown-x86 
BOX86_LD_LIBRARY_PATH: ./x86/
Using default BOX86_PATH: ./:bin/
Counted 56 Env var
Looking for Jamestown-x86
Using native(wrapped) libGL.so.1
Using native(wrapped) libopenal.so.1
Using emulated ./x86/libsteam_api.so
Using native(wrapped) libm.so.6
Using native(wrapped) libdl.so.2
Using emulated ./x86/libstdc++.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /lib/i386-linux-gnu/libgcc_s.so.1
Error initializing native libSDL-1.2.so.0 (last dlerror is libSDL-1.2.so.0: cannot open shared object file: No such file or directory)
Error loading needed lib: "libSDL-1.2.so.0"
Error: loading needed libs in elf ./Jamestown-x86
voltagex@usbuntu:~/games/jamestown$ file x86/lib
libopenal.so.1   libSDL-1.2.so.0  libstdc++.so.6   libsteam_api.so  
voltagex@usbuntu:~/games/jamestown$ file x86/libSDL-1.2.so.0 
x86/libSDL-1.2.so.0: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
voltagex@usbuntu:~/games/jamestown$ ldd x86/libSDL-1.2.so.0 
        linux-gate.so.1 (0xf7f8a000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7dcf000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7dc9000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7da9000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7bc9000)
        /lib/ld-linux.so.2 (0xf7f8b000)
@ptitSeb
Copy link
Owner

ptitSeb commented Sep 15, 2019

it seems your are missing SDL1.2 on on your system. Try some sudo apt install libsdl1.2

EDIT I don't know, maybe it is installed (it's an x86_64 linux, with x86 multiarch installed?), but dlopen(...) cannot find it, so you may be missing some LD_LIBRARY_PATH?

@ghost
Copy link
Author

ghost commented Sep 15, 2019

Sorry, you're right, I missed the "native" part of the error. sudo apt install libsdl1.2debian worked for me.

Game runs fine on the x86 test setup, but I can't grab a screenshot as it seems to do something strange with fullscreen mode

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 15, 2019

Yeah, SDL 1.2 ... sometimes, there are some "hack" in this one.

@ptitSeb
Copy link
Owner

ptitSeb commented Sep 15, 2019

JamesTown works now, right? This ticket can be closed?

@ghost
Copy link
Author

ghost commented Sep 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant