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

Missing prefix in openssl.pc for openssl 3.3.0 #155

Open
1 task done
beenje opened this issue May 10, 2024 · 2 comments · May be fixed by #173
Open
1 task done

Missing prefix in openssl.pc for openssl 3.3.0 #155

beenje opened this issue May 10, 2024 · 2 comments · May be fixed by #173
Labels

Comments

@beenje
Copy link

beenje commented May 10, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I'm having issue recompiling omniorb with openssl support. After some investigation, I found that it forces OPEN_SSL_ROOT to the value returned by pkg-config --variable=prefix openssl.

On Linux, with version 3.3.0 from conda-forge, it is empty.
Here is the content of the openssl.pc file:

libdir=/opt/conda/envs/openssl/lib
includedir=/opt/conda/envs/openssl/include

Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries and tools
Version: 3.3.0
Requires: libssl libcrypto

prefix is absent. It was part of previous version (3.2.1) on Linux:

prefix=/opt/conda/envs/openssl
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries and tools
Version: 3.2.1
Requires: libssl libcrypto

Is that expected?

Installed packages

# packages in environment at /opt/conda/envs/openssl:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
ca-certificates           2024.2.2             hbcca054_0    conda-forge
libgcc-ng                 13.2.0               h77fa898_7    conda-forge
libgomp                   13.2.0               h77fa898_7    conda-forge
openssl                   3.3.0                hd590300_0    conda-forge
pkg-config                0.29.2            h36c2ea0_1008    conda-forge

Environment info

active environment : openssl
    active env location : /opt/conda/envs/openssl
            shell level : 2
       user config file : /root/.condarc
 populated config files : /opt/conda/.condarc
          conda version : 23.3.1
    conda-build version : 3.25.0
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.17=0
                          __linux=5.15.49=0
                          __unix=0=0
       base environment : /opt/conda  (writable)
      conda av data dir : /opt/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /opt/conda/pkgs
                          /root/.conda/pkgs
       envs directories : /opt/conda/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/23.3.1 requests/2.31.0 CPython/3.10.12 Linux/5.15.49-linuxkit centos/7.9.2009 glibc/2.17
                UID:GID : 0:0
             netrc file : None
           offline mode : False
@beenje beenje added the bug label May 10, 2024
@beenje beenje changed the title Missing prefix in openssl.pc on Linux for openssl 3.3.0 Missing prefix in openssl.pc for openssl 3.3.0 May 10, 2024
@h-vetinari
Copy link
Member

Thanks for raising this issue. It looks like an upstream problem; I'm happy to backport a patch once one materializes.

@beenje
Copy link
Author

beenje commented May 11, 2024

Thanks for raising this issue. It looks like an upstream problem; I'm happy to backport a patch once one materializes.

I should have checked upstream. Thanks!

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

Successfully merging a pull request may close this issue.

2 participants