Comments (7)
I'm also trying with my smaller project cAmp2, also no luck:
./cAmp2: ./libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libX11.so.6
This is likely because the binary was built on a Linux distribution that is too new compared to your current distribution. This is why you need to build on an old Linux distribution for the binary to be portable. Typically, the oldest still-supported Ubuntu LTS version is a good baseline for this (currently 20.04).
from stuntrally3.
Ah okay, thank you. So I need that VM for building set up.
from stuntrally3.
Ok I made a VM from Kubuntu-20.04.6.iso
Followed newly updated Building.md which now uses this nice python script I wrote to build SR3 with deps.
SR3 did build fine there. I can start it, but yeah it's a VM so somewhat starts even, got Gui, don't see map, 10 Fps, whatever.
Then I did this, which copies all needed .so:
ldd stuntrally3 | awk 'NF == 4 { system("cp " $3 " .") }'
Got all files back and I'm trying to start on my Debian 12 now:
Got this now, ugh what would that mean?
Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!
I guess I copied too many .so? It's like 95 new lib* files from that VM system.
How do I know which should I use from that VM and which should not be here?
from stuntrally3.
Ok I'm studying our old linux-archive scripts. Probably most important here is copy-libs-linux.sh Though IDK how those libs and filters for them were picked. I'll try using that. Wonder if other games have any info how to make their linux binary releases.
from stuntrally3.
Okay I think I got it running well now.
Tested build from Kubuntu 22.04 on Manjaro kde 23.1.4 in VM
I'll test a couple more distros in VM, and we should have a 3.1 release very soon with Linux binary.
Just need to add some more challenges for new vehicles probably.
from stuntrally3.
Allright it worked also on clean Ubuntu 23.10, Linux Mint-21.3 and MX Linux 23.2.
With lowest settings I get 10 Fps, kind of possible to drive.
That old script wasn't too useful. I ended just with minimal libs and starting sr3 again and again looking at which .so is missing and copying it back from my older Kubuntu 20.04 VM where I previously built using new .py script.
from stuntrally3.
SR 3.1 released with Linux binary here.
from stuntrally3.
Related Issues (12)
- Remove unnecessary null pointer checks HOT 1
- Can't link with btWorldImporter HOT 7
- About Trees rework HOT 1
- Add icon to windows executable file HOT 1
- Stunt Rally v3.1 - issue with offline LAN connection HOT 2
- Can't compile mygui-next HOT 3
- Segmentation fault on startup HOT 5
- Racing wheel support HOT 4
- Add GitHub Actions CI builds for easy testing HOT 9
- Enhancement: generate realistic audio using engine-sim HOT 6
- Website is down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stuntrally3.