Hi,

It seems that the game is a binary blob and requires some older libraries. Have you installed some 32bit libraries. You can check what you need with 'ldd some_binary'. For 32bit libraries you might want to use 'abi_x86_32' for the needed libraries or enable it globlly in make.conf and then recompile everything.

Artur

On Tue, 13 Dec 2022 at 08:37, Alan Ianson <agianson@gmail.com> wrote:
On Mon, 12 Dec 2022 21:17:35 -0800
Alan Ianson <agianson@gmail.com> wrote:

> Hello list,
>
> I am a gentoo newbie. I have installed gentoo about a month ago and have been busy since in my free time getting it up and running.
>
> I have a problem with quakespasm, it segfaults on startup.. this is what I get..

Just as a follow up on my own post.. ;)

I ran valgrind against quakespasm and it says this..

alan@irondust:~$ valgrind -q /usr/bin/quakespasm

valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind: 
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:      strlen
valgrind:  in an object with soname matching:   ld-linux-x86-64.so.2
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux-x86-64.so.2
valgrind: 
valgrind:  Possible fixes: (1, short term): install glibc's debuginfo
valgrind:  package on this machine.  (2, longer term): ask the packagers
valgrind:  for your Linux distribution to please in future ship a non-
valgrind:  stripped ld.so (or whatever the dynamic linker .so is called)
valgrind:  that exports the above-named function using the standard
valgrind:  calling conventions for this platform.  The package you need
valgrind:  to install for fix (1) is called
valgrind: 
valgrind:    On Debian, Ubuntu:                 libc6-dbg
valgrind:    On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
valgrind: 
valgrind:  Note that if you are debugging a 32 bit process on a
valgrind:  64 bit system, you will need a corresponding 32 bit debuginfo
valgrind:  package (e.g. libc6-dbg:i386).
valgrind: 
valgrind:  Cannot continue -- exiting now.  Sorry.

I'm not exactly sure what the above says/means. Are there gentoo packages I can install to get better info?

I'll keep at this and see what I can find. Any ideas/thoughts/help would be welcome. :)