probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.22k stars 414 forks source link

Host system too new #616

Closed AndyW999 closed 4 months ago

AndyW999 commented 4 months ago

I am trying to run this on an RPI 4 so am not able to run this on another machine.

Is there a fix?

Thanks

Andy.

probonopd commented 4 months ago

Use a distribution using a glibc no newer than glibc 2.31. This means a distribution no newer than from ~2020.

AndyW999 commented 4 months ago

A bit difficult as all the system images for RPI 4 are a bit later then that.

I understand why you have done this but it is not really very helpful to those of us with no choice in the matter.

Any suggestions to an alternative, or how to fix it?

Thanks

Andy.

nmateo commented 3 months ago

Fedora 40 here, i use the args: -unsupported-bundle-everything -unsupported-allow-new-glibc and it works just fine.. Took time to find the args, this should be better indicated imo that you can use this to build with newer versions.

AndyW999 commented 3 months ago

Thanks for that - it seems to work but I had to put -no-strip in too.

There are errors - this one lots of times. ERROR: getBinaryRPaths: "/usr/bin/objdump: error while loading shared libraries: /home/andy/RSL/Recorder/bin/../lib/libc.so.6: file too short\n"

Have to try deploying it!

Thanks

Andy.

probonopd commented 3 months ago

Please do not open any issues if you are using those flags, as they are unsupported.