Dadoum / Provision

Set of tools interracting with Apple servers. Don't hesitate to leave a star if you appreciate it.
517 stars 3.16k forks source link

Raspbian 64-bit Anisette Server Execution Error #81

Closed wkddudwo closed 1 year ago

wkddudwo commented 1 year ago

root@raspberrypi:/altserver# ./anisette-server-aarch64 ./anisette-server-aarch64: /lib/aarch64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by ./anisette-server-aarch64) ./anisette-server-aarch64: /lib/aarch64-linux-gnu/libc.so.6: versionGLIBC_2.32' not found (required by ./anisette-server-aarch64) ./anisette-server-aarch64: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./anisette-server-aarch64)

I tried to run the Anisette server on Raspberry Pi, but the above error occurred. Since I don't know much about cmake , I ask a question.

I don't know if there is a relationship, so I'm uploading the raspberry pi environment.

raspberry pi os 64bit

ldd (Debian GLIBC 2.31-13+rpt2+rpi1+deb11u5) 2.31

Dadoum commented 1 year ago

Hello, Thanks for your interest in my project.

It seems that you raspberry pi doesn't have the latest glibc updates. The builds in Releases are built for quite recent operating systems. You should probably try to compile it yourself on the raspberry pi. You can do it with the commands specified in the readme (install a D compiler like ldc first, then install cmake with pip, and then run the commands in the readme).

If you encounter any issue in building the project don't hesitate to ask me for help again.

wkddudwo commented 1 year ago

Hello, Thanks for your interest in my project.

It seems that you raspberry pi doesn't have the latest glibc updates. The builds in Releases are built for quite recent operating systems. You should probably try to compile it yourself on the raspberry pi. You can do it with the commands specified in the readme (install a D compiler like ldc first, then install cmake with pip, and then run the commands in the readme).

If you encounter any issue in building the project don't hesitate to ask me for help again.

Thank you for your kind help. I don't know how to compile it, but I'll research it.

Dadoum commented 1 year ago

Follow the instructions in the README file, it should give you all the commands you need.

wkddudwo commented 1 year ago

Follow the instructions in the README file, it should give you all the commands you need.

Yes, I checked the D compiler, but unfortunately it doesn't seem to support aarch64 :(

wkddudwo commented 1 year ago

Follow the instructions in the README file, it should give you all the commands you need.

Yes, I checked the D compiler, but unfortunately it doesn't seem to support aarch64 :(

(ldc-1.32.2)root@raspberrypi:/Provision# dub build -b release Warning WARNING: A deprecated branch based version specification is used for the dependency plist. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead. Starting Performing "release" build using /root/dlang/ldc-1.32.2/bin/ldc2 for aarch64, arm_hardfloat. Up-to-date provision ~main: target for configuration [plist-d] is up to date.

If you build with dub, the above will appear. What should I do next?

Dadoum commented 1 year ago

Run dub build -b release :anisette-server next to build the anisette-server executable. then you will be able to find a compiled executable to run at bin/provision_anisette-server.

wkddudwo commented 1 year ago

Run dub build -b release :anisette-server next to build the anisette-server executable. then you will be able to find a compiled executable to run at bin/provision_anisette-server.

Thanks to you, the build was successful! If there is a problem, I will ask again