Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompiled arm64 binary doesn't work since v1.9.2 on Raspberry OS arm64 (bullseye) - Debian 11 based #209

Closed
twofaktor opened this issue Nov 6, 2023 · 10 comments
Assignees
Labels
ARM Related to ARM systems packaging Improvement or issues related to release packaging

Comments

@twofaktor
Copy link

twofaktor commented Nov 6, 2023

Since 1.9.2, I can't use Fulcrum precompiled arm64 binary on Raspberry OS arm64 (bullseye) - Debian 11 based, it shows me this error:

Fulcrum: /lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by Fulcrum)
Fulcrum: /lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by Fulcrum)
Fulcrum: /lib/aarch64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by Fulcrum)
Fulcrum: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by Fulcrum)
Fulcrum: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by Fulcrum)
Fulcrum: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by Fulcrum)

I think since that release, you updated dependencies and your precompiled binary is no longer compatible with this OS version, I will need from now on I will have to build it from the source code? Is there any other solution?

Comment related: #208 (comment)
Answer related: #208 (comment)

@cculianu
Copy link
Owner

cculianu commented Nov 6, 2023

Yess.. hmm. I updated the way I build it to use a docker base image of Ubuntu 22.04.. which might rely on a glibc that is too new for some systems.

I used to build it on a physical RPi itself running Ubuntu 20 or 21 or something.. let me see if I can somehow use a docker image of Ubuntu 20 or 21... hmm.

@cculianu cculianu added packaging Improvement or issues related to release packaging ARM Related to ARM systems labels Nov 6, 2023
cculianu added a commit that referenced this issue Nov 6, 2023
@cculianu
Copy link
Owner

cculianu commented Nov 6, 2023

Hey man so I pushed a commit that adds a docker builder for arm64 using Ubuntu 20. This hopefully uses an old enough glibc that it runs on that system for you. Let me know if this works for you and if it does I can update the release binary.

Note this is the raw binary, gzipped.. no tarball.

Fulcrum.gz

-----BEGIN PGP SIGNATURE-----

iHUEABEIAB0WIQTUZRNfl9AEfhjpncMhgQpUIDHALAUCZUlIQAAKCRAhgQpUIDHA
LBDkAQD2bqvKRRJh/eW9SIKDHg3uoyXK7w9JM5SAE79VdpZB9QEAlVOJxU6htTEM
NLslCQ8yywF2zy1Tad+hOlapVX4wDXk=
=LIuo
-----END PGP SIGNATURE-----

@cculianu cculianu self-assigned this Nov 6, 2023
@twofaktor
Copy link
Author

twofaktor commented Nov 6, 2023

Hey! Good! Thanks!

Could you add the FulcrumAdmin binary? I usually to use this tool also, plus, it's currently in my guide 😁

@cculianu
Copy link
Owner

cculianu commented Nov 6, 2023

It's not a binary it's just a python script (text file). You can copy it from the current release...

@twofaktor
Copy link
Author

twofaktor commented Nov 7, 2023

It's not a binary it's just a python script (text file). You can copy it from the current release...

Hey man! I'm not a programmer nor an expert, so I don't have enough knowledge to understand you easily, I'm sorry 🙏

I thought you would provide me something like this: https://github.com/cculianu/Fulcrum/files/13268907/Fulcrum-1.9.5-2c1b263-x86_64-linux.tar.gz for my arm64 OS, and be able to try it (in that case yes, I know how to do this)

Could you explain to me step by step what you want me to do?

Thanks and sorry again

@cculianu
Copy link
Owner

cculianu commented Nov 7, 2023

It's ok. Ok so the above Fulcrum.gz is literally the binary for the Fulcrum app. Just do gunzip Fulcrum.gz and you will get Fulcrum, which can be run. I didn't go to the trouble to do a full preparation of the whole tarball since .. that takes time to prepare manually liek this as a one-off. Anyway... downlaod the above Fulcrum.gz, gunzip it, and make sure it's runnable via chmod 755 Fulcrum. You can run it.

if you require the FulcrumAdmin script -- that's just a text file (it's basically a python script which is always a text file). You can grab that from the x86 release or the arm64 release or whatever.

I hope that is clear? or?

I just need confirmation that binary I linked above works on your system. If it does I can go ahead and update the current arm64 release to include a binary like that -- built with Ubuntu 20 (rather than Ubuntu 22).

Thanks!

@twofaktor
Copy link
Author

Nice!! It worked for me! Look at this how beautiful...😍

imagen

You can continue with the magic, wizard 🧙

Thanks!

@cculianu
Copy link
Owner

cculianu commented Nov 7, 2023

Awesome! yes! I will replace the 1.9.5 binary sometime today..

@cculianu
Copy link
Owner

cculianu commented Nov 8, 2023

Ok, I updated the release binary for arm64 to use this build method (Ubuntu 20). Note it's not exactly the same commit as the other binaries (it's vs current master, basically), but that's ok.

Closing issue.

@cculianu cculianu closed this as completed Nov 8, 2023
@twofaktor
Copy link
Author

Ok, tested it again, and working fine! ✅

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM Related to ARM systems packaging Improvement or issues related to release packaging
Projects
None yet
Development

No branches or pull requests

2 participants