Hello Gentoo Community,
I wanted to share a recent issue I encountered and its resolution, as it might be helpful for others facing a similar situation.
Problem:
I was experiencing a problem while trying to compile net-libs/libproxy-0.5.3. The compilation process failed with an error indicating that libssl.so.1.1 was missing. The error message was as follows:
Code: Select all
/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/Libproxy-1.0: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Command '['/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/Libproxy-1.0', '--introspect-dump=/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/functions.txt,/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/dump.xml']' returned non-zero exit status 127.Code: Select all
/var/tmp/portage/net-libs/libproxy-0.5.3/work/libproxy-0.5.3-abi_x86_64.amd64/tmp-introspectfi3hismw/Libproxy-1.0: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directorySolution:
After some investigation, I found that the issue was due to the Openssl is in version 3 and his libs are libssl-3.0 but libproxy still needed libssl-1.1. However, openssl-1.1 was masked in my Gentoo system. The solution was to install dev-libs/openssl-compat, which provides compatibility with older versions of OpenSSL, including the required libssl.so.1.1 library.
The following steps resolved the issue:
Installed dev-libs/openssl-compat:
Code: Select all
emerge -av dev-libs/openssl-compatCode: Select all
find /usr -name 'libssl.so.1.1'Code: Select all
ldconfigCode: Select all
emerge -av net-libs/libproxyI hope this information is helpful to anyone who might encounter a similar issue. Feel free to reach out if you have any questions or need further details.

