GithubHelp home page GithubHelp logo

Comments (7)

Calinou avatar Calinou commented on June 14, 2024

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.

cryham avatar cryham commented on June 14, 2024

Ah okay, thank you. So I need that VM for building set up.

from stuntrally3.

cryham avatar cryham commented on June 14, 2024

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.

cryham avatar cryham commented on June 14, 2024

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.

cryham avatar cryham commented on June 14, 2024

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.

21_16-52-29`s

from stuntrally3.

cryham avatar cryham commented on June 14, 2024

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.

cryham avatar cryham commented on June 14, 2024

SR 3.1 released with Linux binary here.

from stuntrally3.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.