superg / redumper

Low level CD dumper utility
GNU General Public License v3.0
221 stars 20 forks source link

Redumper has GLIBC dependencies that are not found #19

Closed bismurphy closed 1 year ago

bismurphy commented 1 year ago

Hello,

I am interested in trying Redumper, and was pleased that it is open source and comes with a precompiled Linux version. However, I don't see any installation instructions, or list of dependencies. I attempted to run the program by doing the following:

wget https://github.com/superg/redumper/releases/download/build_103/redumper-2023.01.22_build103-Linux.zip
unzip redumper-2023.01.22_build103-Linux.zip 
cd redumper-2023.01.22_build103-Linux/
cd bin
./redumper

This gives the following errors:

./redumper: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./redumper)
./redumper: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./redumper)
./redumper: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./redumper)

A bit of searching turned up a few Stack Overflow posts, and I tried installing the libc6 and libc-bin packages, but that didn't seem to help. I assume I'm just missing a particular package for this, but I'm not sure which one. Any guidance would be appreciated.

I'm running Debian 11.

superg commented 1 year ago

Hey, So these are being built automatically using GitHub Actions every time I push a change. Right now I have it configured to ubuntu-latest so whatever is the latest when it builds is used. Debian 11 is not too old, hard to tell why GLIBC_2.32 and GLIBC_2.34 are unsupported. glibc is system component, upgrading it in older distro is non trivial. I potentially could do something about libstdc++ but not with glibc. Ideally I should have built distro dependent installation packages but I really don't have any bandwidth for that.

The easiest solution here would be to build it from source, there are literally 0 external dependencies you will need "build-essentials" meta package and cmake to generate makefiles.

bismurphy commented 1 year ago

Got it, thank you, it wasn't clear if building from source was officially supported. Got it working, will submit a PR to describe how to build it, ran into a couple hiccups but eventually got it working. Thank you and Слава Україні!

superg commented 1 year ago

Героям Слава!