chrismaltby / gb-studio

A quick and easy to use drag and drop retro game creator for your favourite handheld video game system
https://www.gbstudio.dev
MIT License
8.59k stars 475 forks source link

version `GLIBC_2.29' not found ubuntu #1083

Open ghost opened 2 years ago

ghost commented 2 years ago

I cant find a sultion to /tmp/_gbstools/gbdk/bin/sdasgb: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_gbstools/gbdk/bin/sdasgb)

reharish commented 2 years ago

I think you are using ubuntu 18.04. Follow the instruction below
https://forum.juce.com/t/solved-glibc-2-29-not-found-on-ubuntu-18-04/34960

reharish commented 2 years ago

u can either compile it on ubuntu 18 or need to switch into ubuntu 20

ghost commented 2 years ago

I am sorry am not specif i am using game boy studio

zeus86 commented 2 years ago

u can either compile it on ubuntu 18 or need to switch into ubuntu 20

this is not that easy. while gb-studio compiles fine, it cannot compile a game, because it want's to use libc6-2.29 for that. in Ubuntu 18.04 (which is still supported by the way) 2.27 is the latest release of libc6. Manual building a rom with gb-studio-cli results in

            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "1".] {
  code: 'ERR_UNHANDLED_REJECTION'

tested with node 16.18.0 (from snap). ...this is really annoying. Idealy Software should compile on the build-chain that is available on any given system for that language, and should not be tied to spefic newer versions of $whatsoever unless absolutely necessary...