Repository metrics
- Stars
- (30,157 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Hello to any engineers finding this!
I just struggled for a bit trying to compile openssl for android-x86_64 on Debain 11.
I had ANDROID_NDK_ROOT and ANDROID_NDK_HOME configured properly in my $PATH, but for the longest time I kept getting an error configuring the make file.
The error I was seeing was:
no NDK x86_64-linux-android-gcc on $PATH
I walked myself through 15-android.conf and was able to find the issue after sometime.
First,
Perl on my machine wasn't able to execute the which command with the script. It was causing the make file generation to fail. To fix this I had to run cpan then install File::Which (thanks ChatGPT :robot: ). After I installed it I put an import statement in the top of the config file.
So make sure you can run
perl -e 'use File::Which;print which("clang");'
Second,
Even after I installed the perl module the configure script wouldn't work. I had to force a true condition to pass into a code block
if (which("clang") =~ m|^$ndk/.*/prebuilt/([^/]+)/|) { -> if (1==1) {
After I did all that I was able to configure make and compile :rocket: :fire:
Hope someone finds this useful :smile: :smile_cat: