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

LDFLAGS Fix (and API bump) for ARM64-v8a and OpenSSL 1.1.1c #16

Merged
merged 7 commits into from
Jan 22, 2023

Conversation

ArtificialRaccoon
Copy link
Contributor

Changes:

  • Bumped API from 21 to 23 (at the time I was having issues, this may be unrelated)
  • The line "ENV LDFLAGS -R/openssl-build/lib" appears to be ignored when configure is called; added "LDFLAGS=-Wl,-R/openssl-build/lib", and modified the "-with-ssl" option to target the openssl dependency path

Result:
The CURL build under arm64-v8a completes successfully. The resulting libraries could then be used on an Android device, successfully connecting to a mapservice over HTTPS.

I noticed that I was required to also include the libcrypto.so.1.1 and libssl.so.1.1 in addition to the libcrypto.so and libssl.so files. It appears that the libcrypto.so and libssl.so files are now just symlinks to the .1.1 files.

I tested my android app against an ArcGIS MapServer (https://sampleserver6.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer), and was able to use the GDAL to open a dataset, and clip a region successfully.

@rhardih rhardih merged commit e46be5a into rhardih:master Jan 22, 2023
@rhardih
Copy link
Owner

rhardih commented Jan 22, 2023

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants