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

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

@duanduancq

Description

@duanduancq

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions