Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

How to make Openssl compile to hidden (Linux) #1

Open
duanduancq opened this issue Jun 10, 2020 · 1 comment
Open

How to make Openssl compile to hidden (Linux) #1

duanduancq opened this issue Jun 10, 2020 · 1 comment

Comments

@duanduancq
Copy link

Issue:A process adds two different versions of libssl.so。how to Let one of the libssl become a hidden interface。when I add wo different versions. then the process occur crash。 so I thinks maybe hidden One of the dynamic libraries can solve the conflict.

  1. How to add "-fvisibility=hidden" to a makefile?
    I try to add the keyword,but openssl compilation error。Prompt a large number of interfaces
    not found、
    like this:
    undefined reference to X509_STORE_CTX_free' undefined reference to ERR_print_errors'
    undefined reference to OPENSSL_strlcpy' undefined reference to OPENSSL_strlcat'
    undefined reference to X509_set_serialNumber' undefined reference to X509_set_version'
    undefined reference to `X509V3_set_ctx'

    makefile:
    Makefile.zip

  2. Is there any other way to resolve this conflict? A process adds two different versions of libssl.

@wwong
Copy link
Owner

wwong commented Jun 10, 2020

Hey @duanduancq, you might want to recreate this issue on https://github.com/apache/commons-crypto. This repo was only made as a copy to experiment with lgtm.com.

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

No branches or pull requests

2 participants