Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8503009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:38:29+00:00 2026-06-11T01:38:29+00:00

I have written one module in cpp which uses openssl for SSL communication. I

  • 0

I have written one module in cpp which uses openssl for SSL communication. I decided to use this module in android application by writing JNI layer above this one. Now the main problem is I need openssl “static” libraries which are built using ndk.

I got the openssl package from this link git repository

This works great if I am using as it is for building shared libraries out of it, but I want to build it for static libraries. I am very new to make files. Can some one please guide me how can I change the makefiles in this openssl package which I got it from above given link to get the static libraries.. ?

thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:38:31+00:00Added an answer on June 11, 2026 at 1:38 am

    First of all, your JNI can be linked to shared OpenSSL libraries. You only need to load these libraries from your Java code before you load the JNI library that uses them.

    Second, OpenSSL libraries (shared objects) are installed on any Android, so you probably do not have to build them at all. The versions may vary, but in Android 4.01 tree, the version is more advanced than that in eighthave git.

    Finally, if your NDK is installed in $(NDK_ROOT) directory, you can simply run the following command:

    $(NDK_ROOT)/ndk_build APP_MODULES="ssl crypto" BUILD_SHARED_LIBRARY="$(NDK_ROOT)/build/core/build-static-library.mk"
    

    (from the root directory of eighthive git clone) … and automagically you will find the static libraries obj/local/armeabi/libcrypto.a and obj/local/armeabi/libssl.a

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Python extension module written in C. I want to use in this
I have one module written on Java - web service module which accepts request
I have written a module similar to the following: module One class Two def
I have an application consisting of different modules written in C++. One of the
I have written a simple CRUD form which has one select list. However the
I have written a WCF REST API for third-party use. One of the things
I am reading one file using ruby in which I have written regexp in
Here is my situation. I have written a WCF service which calls into one
i have written module which reads and write on /proc file and is working
Basically I have written two modules for my Python Program. I need one module

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.