SRB2 2.1.15 Linux Dependencies errors

Status
Not open for further replies.

HitCoder

Launcher Blaster
Hey, just requesting a little help here, been messing with this for a few days.

So I've compiled 64 bit and 32 bit binaries for SRB2 on Linux. I compiled the 32 bit binary in a virtual machine in case that is of importance.

I was unable to compile 32 bit on my main install, don't have the logs however.

When I try to run the 64 bit version I can get in servers but desynch very quickly. This is likely due to what Wolfy stated in the release thread, 64bit net play is imcompatible with 32bit.

I tried to run the 32 bit binary and got this:
Code:
./lsdl2srb2: error while loading shared libraries: libSDL2_mixer-2.0.so.0: cannot open shared object file: No such file or directory

so I then did this

Code:
itcoder@hitcoder-desktop ~/Games/SRB2 2.1 $ sudo apt-get install libsdl2-2.0-0:i386 libsdl2-image-2.0-0:i386 libcurl3-gnutls:i386 libsdl2-mixer-2.0-0:i386 libmodplug1:i386

which told me it would uninstall these:
Code:
The following packages will be REMOVED
  libavdevice-ffmpeg56 libavfilter-ffmpeg5 libavformat-ffmpeg56 libmodplug1
  libsdl2-mixer-2.0-0 obs-studio vlc vlc-nox

Running lsdl2srb2 32bit now reported this;

Code:
Compiled for SDL version: 2.0.2
Linked with SDL version: 2.0.2
Setting up SRB2...
M_StartupLocale...
Looking for WADs in: SRB2WADDIR,.
Z_Init(): Init zone memory allocation daemon. 
System memory: 48MB - Free: 48MB
I_StartupTimer()...
W_InitMultipleFiles(): Adding IWAD and main PWADs.
Added file /home/hitcoder/Games/SRB2 2.1/srb2.srb (6214 lumps)
Loading main config from /home/hitcoder/Games/SRB2 2.1/srb2.srb
Added file /home/hitcoder/Games/SRB2 2.1/zones.dta (962 lumps)
Loading main config from /home/hitcoder/Games/SRB2 2.1/zones.dta
Added file /home/hitcoder/Games/SRB2 2.1/player.dta (526 lumps)
Added file /home/hitcoder/Games/SRB2 2.1/rings.dta (444 lumps)
Added file /home/hitcoder/Games/SRB2 2.1/patch.dta (94 lumps)
Added file /home/hitcoder/Games/SRB2 2.1/music.dta (171 lumps)
I_StartupGraphics()...
Segmentation fault

I was inside the working directory.

reinstalled all the removed packages which removed 32bit libraries, can't run 32bit? 32 bit sdl not compatible with 64 bit? where's multiarch?

Any suggestions?

Sorry for poor wording, I'm quite tired. Had a long day and it's 2:40AM in my location, haha.
 
You need to file bug reports with your OS Distro on each library that SD2-Mixer depend on to be able to install in a multiarch system, here a hint, file a multiartch bug report of libmodplug1, OH LOOK here, there already a bug report: https://bugs.launchpad.net/ubuntu/+source/libmodplug/+bug/1219379

the only way is to get "most" of SDL2-Mixer i386 library and development packages that does not remove the adm64 counterpart and install your own SDL2-mixer into /usr/local/lib/i386-linux-gnu/

Now for the crash, you need to use gdb on the lsdlsrb2.debug so we can see WHY it crashing
 
Last edited:
Now for the crash, you need to use gdb on the lsdlsrb2.debug so we can see WHY it crashing

Funnily enough, when I run the .debug file the game runs perfectly fine. Any reason for this?
Not sure if that means the log is invalid but here's the log after running it;

Code:
Compiled for SDL version: 2.0.2
Linked with SDL version: 2.0.2
Setting up SRB2...
M_StartupLocale...
Looking for WADs in: SRB2WADDIR,.
Z_Init(): Init zone memory allocation daemon. 
System memory: 48MB - Free: 48MB
I_StartupTimer()...
W_InitMultipleFiles(): Adding IWAD and main PWADs.
Added file /home/hitcoder/Games/SRB2 2.1/srb2.srb (6214 lumps)
Loading main config from /home/hitcoder/Games/SRB2 2.1/srb2.srb
Added file /home/hitcoder/Games/SRB2 2.1/zones.dta (962 lumps)
Loading main config from /home/hitcoder/Games/SRB2 2.1/zones.dta
Added file /home/hitcoder/Games/SRB2 2.1/player.dta (526 lumps)
Added file /home/hitcoder/Games/SRB2 2.1/rings.dta (444 lumps)
Added file /home/hitcoder/Games/SRB2 2.1/patch.dta (94 lumps)
Added file /home/hitcoder/Games/SRB2 2.1/music.dta (171 lumps)
I_StartupGraphics()...
SDL2: stubbed: SDLESSet:1499
NOTE: Under SDL2, all modes are supported on all platforms.
Under opengl, fullscreen only supports native desktop resolution.
Under software, the mode is stretched up to desktop resolution.
 0: 1920x1200
 1: 1920x1080
 2: 1680x1050
 3: 1600x1200
 4: 1600x900
 5: 1366x768
 6: 1440x900
 7: 1280x1024
 8: 1280x960
 9: 1280x800
10: 1280x720
11: 1152x864
12: 1024x768
13: 800x600
14: 640x480
15: 640x400
16: 320x240
17: 320x200
HWR_Startup()
InitMD2()...
Error while loading md2.dat
SDL2: stubbed: SurfaceInfo:440
SDL2: stubbed: SurfaceInfo:440
CPU Info: 486: 1, 586: 1, MMX: 1, 3DNow: 0, MMXExt: 0, SSE2: 1
HU_Init(): Setting up heads up display.
Number of console HUD lines is now 5
executing /home/hitcoder/.srb2/config.cfg
Cannot use joystick #1/(1), it doesn't exist
Default resolution: 1366 x 768 (8 bits)
M_Init(): Init miscellaneous info.
R_Init(): Init SRB2 refresh daemon.
R_LoadTextures()...
R_InitSprites()...
srb2.srb added 2975 frames in 231 sprites
player.dta added 163 frames in 1 sprites
rings.dta added 431 frames in 18 sprites
patch.dta added 1 frames in 1 sprites
Added skin 'tails'
Added skin 'knuckles'
R_InitColormaps()...
Number of Extra Colormaps: 6
S_Init(): Setting up sound.
ST_Init(): Init status bar.
D_CheckNetGame(): Checking network game status.
Entering main game loop...
I_StartupKeyboard()...
===========================================================================
                   We hope you enjoy this game as
                     much as we did making it!
                            ...wait. =P
===========================================================================
Sonic Robo Blast 2 v2.1.15 (May 29 2016 19:54:49 d1aab2e4)
Starting Server....
Speeding off to level...
Shutdown tty console
I_ShutdownGraphics(): shut down
I_ShutdownTcpDriver: shut down
I_ShutdownSystem(): end of logstream.
As you can see the game runs perfectly fine, I could enter GFZ1 on SP and it ran fine.

I'm a little bit of a noob when it comes to certain parts of Linux, not sure how to use gdb. I only know things that I've had to use.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top