Gentoo Archives: gentoo-user

From: Laurence Perkins <lperkins@×××××××.net>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: RE: [gentoo-user] Gaming on gentoo
Date: Thu, 15 Dec 2022 19:06:19
Message-Id: MW2PR07MB40580A6B2093B7297C33E3ADD2E19@MW2PR07MB4058.namprd07.prod.outlook.com
In Reply to: Re: [gentoo-user] Gaming on gentoo by Artur Tamm
1 Note that some programs will dynamically load libraries at runtime, in addition to being linked against them at build time. These don’t necessarily show up in ldd. (Qt is horrible about this) Enabling core dumps or running under a debugger might shed some light on what’s going on. If that doesn’t work easily then check the project documentation to see if they have a special debugging workflow. Some game engines require a very specific debugging setup for the output to make any sense.
2
3 LMP
4
5 From: Artur Tamm <artur.tamm.85@×××××.com>
6 Sent: Wednesday, December 14, 2022 1:13 PM
7 To: gentoo-user@l.g.o
8 Subject: Re: [gentoo-user] Gaming on gentoo
9
10 Hi,
11
12 I finally had the time to test quakespasm. I tried both the binary from the project as well as the version compiled by me from the project page on github. After copying the binary into quake folder (GoG version) and making symlinks to pak0.pak and pak1.pak (filesystem is case sensitive and the software cannot handle it). It worked fine.
13
14 Artur
15
16 Here is the ldd output (don't know if it helps)
17 ldd quakespasm_compiled
18 linux-vdso.so.1 (0x00007ffe3bd52000)
19 libm.so.6 => /lib64/libm.so.6 (0x00007f2cd37c0000)
20 libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f2cd373a000)
21 libvorbisfile.so.3 => /usr/lib64/libvorbisfile.so.3 (0x00007f2cd3730000)
22 libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00007f2cd3702000)
23 libogg.so.0 => /usr/lib64/libogg.so.0 (0x00007f2cd36f7000)
24 libmad.so.0 => /usr/lib64/libmad.so.0 (0x00007f2cd36d4000)
25 libSDL-1.2.so.0 => /usr/lib64/libSDL-1.2.so.0 (0x00007f2cd3668000)
26 libc.so.6 => /lib64/libc.so.6 (0x00007f2cd346b000)
27 /lib64/ld-linux-x86-64.so.2 (0x00007f2cd3db6000)
28 libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f2cd33b3000)
29 libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f2cd337f000)
30 libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f2cd328f000)
31 libdl.so.2 => /lib64/libdl.so.2 (0x00007f2cd328a000)
32 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2cd3283000)
33 libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f2cd313f000)
34 libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f2cd3115000)
35 libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f2cd3110000)
36 libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f2cd3108000)
37 libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f2cd30ef000)
38 libmd.so.0 => /usr/lib64/libmd.so.0 (0x00007f2cd30e1000)
39
40
41 On Tue, 13 Dec 2022 at 14:24, Alan Ianson <agianson@×××××.com<mailto:agianson@×××××.com>> wrote:
42 On Tue, 13 Dec 2022 13:49:54 +0000
43 Artur Tamm <artur.tamm.85@×××××.com<mailto:artur.tamm.85@×××××.com>> wrote:
44
45 > sourceforge tarball was a prebuilt binary (at least the one I downloaded).
46
47 The source is there too in a different directory.
48
49 > I saw that the source code is here:
50 > https://github.com/sezero/quakespasm/tree/master/Quake
51 > The default Makefile might need some editing for a successful compilation.
52
53 I just grabbed the linux-64 archive from sourceforge. I have never run the prebuilt binaries before but I tried it just to see what would happen. The quakespasm-sdl2 segfaulted the same as my own build but the quakespasm (sdl I suppose?) does run here.
54
55 So that is something! I can run their sdl quakespasm but not my own built here.
56
57 That is better than nothing but I'd still like to hear about your experience. I'd be happy if I could build and run my own if I can figure out what the issue is.

Replies

Subject Author
Re: [gentoo-user] Gaming on gentoo Alan Ianson <agianson@×××××.com>