Archived

This forum has been archived. Please start a new discussion on GitHub.

Specify openssl path for systems that have 1.0 and 1.1 installed on Compile Time

I'v searched on google and in the forums before posting this and I'm pretty sure I'm one of the first ones to suffer this issue.

I'm trying to install ice for python using the pip tool, following the documentation on zeroc website. The problem is that it fails compilling the c/c++ library of IceSSL because it thinks that my /usr/include/openssl folder is for the 1.0 version and I didn't found any way to tell pip to use my correct folder for openssl 1.0 (don't blame me for this mess, I'm merely an arch linux user)

Comments

  • benoit
    benoit Rennes, France

    Hi,

    Out of curiosity, why don't you want to build with the default openssl version (from /usr/include/openssl)?

    To build with OpenSSL 1.0, you can try the following:

    pip install --global-option=build_ext --global-option="-I/usr/include/openssl-1.0" --global-option="-L/usr/lib/openssl-1.0" -v zeroc-ice

    This should add the appropriate compiler/linker options to use OpenSSL 1.0 from /usr/include/openssl-1.0 and /usr/lib/openssl-1.0.

    Cheers,
    Benoit.