You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So to summarize, on my x86 machine, I am able to successfully compile the above example using this command: gcc libsodium_ex.c -o libsodium_ex/libsodium_ex_x86.out -lsodium and also obtain the following output as shown below:
uname -a results in Linux jay-mch 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
So on my x86 machine, libsodium seems to work wonderfully.
However, when I was trying this example out on ARM architecture, and upon executing the same executable as above compiled for the ARM architecture, I face an error as shown below:
uname -a results in Linux ubuntu 5.15.0-rc7+ #1 SMP PREEMPT Tue Nov 2 01:35:20 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
I am at the moment trying to see whether I can install GLIBC 2.33 on my ARM QEMU machine to see whether that would fix this problem, but that has also been a bit of a painful process and I found it interesting that GLIBC 2.31 is fine for x86 whereas it is not okay for ARM, so I wanted to ask a question why this is the case.
Thank you very much for any help you can provide,
Sincerely,
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
I am relatively new in using
libsodium
and got myself familiar by starting with this example: https://libsodium.gitbook.io/doc/secret-key_cryptography/secretboxSo to summarize, on my x86 machine, I am able to successfully compile the above example using this command:
gcc libsodium_ex.c -o libsodium_ex/libsodium_ex_x86.out -lsodium
and also obtain the following output as shown below:uname -a
results inLinux jay-mch 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
So on my
x86
machine,libsodium
seems to work wonderfully.However, when I was trying this example out on
ARM
architecture, and upon executing the same executable as above compiled for theARM
architecture, I face an error as shown below:uname -a
results inLinux ubuntu 5.15.0-rc7+ #1 SMP PREEMPT Tue Nov 2 01:35:20 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
I am at the moment trying to see whether I can install
GLIBC 2.33
on myARM
QEMU machine to see whether that would fix this problem, but that has also been a bit of a painful process and I found it interesting thatGLIBC 2.31
is fine forx86
whereas it is not okay forARM
, so I wanted to ask a question why this is the case.Thank you very much for any help you can provide,
Sincerely,
Beta Was this translation helpful? Give feedback.
All reactions