Android build #1833
-
How to compile or build liboqs with android architecture.
-- Build files have been written to: /home/bcs/naveen/liboqs/build |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Hi @AlothNaveen, I'm having trouble parsing the logs you've included above. Could you please flesh out the explanation to help me understand (1) what you're trying to achieve, (2) what commands you're running, and (3) how the behaviour differs from what you're expecting? |
Beta Was this translation helpful? Give feedback.
-
can we get liboqs.a file insteas of .so file with build-android.sh |
Beta Was this translation helpful? Give feedback.
-
I tried... It didn't worked for me |
Beta Was this translation helpful? Give feedback.
-
Also tagging @andybrucenet : There's a long-standing PR around (also Android) static builds #1717; maybe that'd be informative @AlothNaveen . But confirming @dstebila's statement: We have insufficient Android expertise, so any PR and continued contribution for that platform would be very welcome. |
Beta Was this translation helpful? Give feedback.
-
I believe to get an
This will produce a The reason the build-android.sh file produces an |
Beta Was this translation helpful? Give feedback.
-
@res0nance hey buddy can you tell me how can i access oqs provider in android . I have compiled openssl oqs provider and liboqs for android but while accessing oqs provider I'm not able to access it , I have made changes in openssl.cnf file , I tired to load oqs manually , I even tried to set environment variable but oqs provider is not accessible . |
Beta Was this translation helpful? Give feedback.
I believe to get an
.a
file you only needThis will produce a
.a
file in thebuild/lib
folder.The reason the build-android.sh file produces an
.so
file is because the-DBUILD_SHARED_LIBS=ON
flag is included. Turn that flag off and it should produce an.a
file