Hi,
building on Mac OS X 12.0.1 on Intel CPU with recent XCode and Command Line Tools and a fresh bootstrap and complete rebuild of all(!) pkgs gives me:
… Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] n *** Found OpenSSL-1.1.1l installed in /Volumes/pkgsrc17/pkg *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Checking if your kit is complete... WARNING: /Volumes/pkgsrc17/pkg/bin/perl is loading libcrypto in an unsafe way Abort trap: 6
A mix of compilers and options for OpenSSL, Net::SSLeay and perl is not likely, as I did a complete build form scratch, including bootstrap of pkgsrc. After some googgling[1], it seems the following two commands help as workaround:
sudo ln -s /Volumes/pkgsrc17/pkg/lib/libssl.1.1.dylib /usr/local/lib/libssl.dylib sudo ln -s /Volumes/pkgsrc17/pkg/lib/libcrypto.1.1.dylib /usr/local/lib/libcrypto.dylib
Now things work:
Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] n *** Found OpenSSL-1.1.1l installed in /Volumes/pkgsrc17/pkg *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Checking if your kit is complete... Generating a Unix-style Makefile Writing Makefile for Net::SSLeay Writing MYMETA.yml and MYMETA.json
I have no idea where the above error comes from, but apparently something has a dependency outside of pkgsrc. Can this be fixed somehow?
I have no idea on Mac OS X’s dynlib handling. If more data is needed, let me know.
Please keep me in CC for answers.
- Hubert
|