pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: security/libssh can't locate openssl/ml_kem.h



Thomas Klausner wrote:
> On Wed, Sep 09, 2026 at 04:46:04PM +0100, MLH wrote:
> > Thomas Klausner wrote:
> > > On Wed, Sep 09, 2026 at 03:30:40PM -0400, MLH wrote:
> > > > Where is security/libssh supposed to find openssl/ml_kem.h?
> > > > It doesn't require security/openssl, which has it.
> > > 
> > > It does, look in options.mk.
> > > 
> > > > [ 93%] Building C object src/CMakeFiles/ssh.dir/sftpserver.c.o
> > > > /pkg_comp/obj/pkgsrc/security/libssh/default/libssh-0.12.2/src/mlkem_crypto.c:31:10: fatal error: openssl/ml_kem.h: No such file or directory
> > > >    31 | #include <openssl/ml_kem.h>
> > > >       |          ^~~~~~~~~~~~~~~~~~
> > > 
> > > You need NetBSD 11 (release) or NetBSD-current or some other
> > > installation of openssl 3.5. Or switch to the gcrypt alternative
> > > option.
> > 
> > NetBSD 11.99.6. openssl/ml_kem.h is in 
> > /usr/src/crypto/external/apache2/openssl/dist/include/openssl/ml_kem.h
> > but it didn't pick that up either
> 
> It needs to be below /usr/include. Update to 11.99.8 and you'll be fine.

Ok. Updating my pkg_comp1 to 11.99.8 . Thanks



Home | Main Index | Thread Index | Old Index