Page 1 of 1
Can't install required libraries for SP on Ubuntu 22.
Posted: Tue Jun 18, 2024 2:44 pm
by nesman
The wiki says I need libffi.so.6
http://wiki.sourcepython.com/general/installation.htmlThat is no longer found on ubuntu 22.
Code: Select all
apt-get install libffi6:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libffi6:i386
How do we install sourcepython?
Re: Can't install required libraries for SP on Ubuntu 22.
Posted: Tue Jun 18, 2024 5:15 pm
by cssbestrpg
I guess you could
download this one i use.
It goes to server root folder(where is cstrike folder located for example) /bin
Re: Can't install required libraries for SP on Ubuntu 22.
Posted: Fri Jun 21, 2024 7:30 pm
by nesman
That's certainly a solution. I think the file needs to be provided with the download if it's a requirement and can't be installed by apt anymore.
Re: Can't install required libraries for SP on Ubuntu 22.
Posted: Thu Jun 27, 2024 1:05 pm
by nesman
Unfortunately this did not fix things. SP crashes the server on a fresh install. Shame.
Re: Can't install required libraries for SP on Ubuntu 22.
Posted: Thu Jun 27, 2024 6:55 pm
by cssbestrpg
which game?
Re: Can't install required libraries for SP on Ubuntu 22.
Posted: Wed Jul 10, 2024 5:21 pm
by nesman
Team Fortress.
Re: Can't install required libraries for SP on Ubuntu 22.
Posted: Sat Jul 13, 2024 8:04 am
by Doldol
Hello in case you're still looking I use this line in a docker container to fix dependencies for both the base server and SP, it may be outdated so if it doesn't outright work I hope it atleast points you in the right direction, the key is that your server isn't an x64 binary so you gotta get the 32bit libs
Code: Select all
dpkg --add-architecture i386 && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install libgcc-s1:i386 libstdc++6:i386 libtinfo5:i386 zlib1g zlib1g:i386 && curl -LO http://archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_i386.deb && dpkg -i libffi6_3.2.1-8_i386.deb