[gnutls-devel] GnuTLS | Windows builds: 'make install' installs dummy crypt32.dll and ncrypt.dll (#1232)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon May 10 17:37:53 CEST 2021



Tim Kosse created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1232



## Description of problem:

When compiling GnuTLS for Windows, both natively and cross-compiled, running 'make install' in the top build directory installs the dummy crypt32.dll and ncrypt.dll from the tests/windows subdirectory.

The presence of these dummy libraries in the library search path results in a conflict with Windows' native DLLs.

These debug libraries seem to be missing the noinst_ prefix in tests/windows/Makefile.am

## Version of gnutls used:

3.6.12, 3.7.1

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

Source tarballs from https://www.gnupg.org/ftp/gcrypt/gnutls/

## How reproducible:

- Setup a x86_64-w64-mingw32 build environment, either under Debian or using msys2
- Compile and install recent GMP, Nettle
- Extract gnutls-3.7.1.tar.xz
- cd gnutls-3.7.1
- ./configure --host=x86_64-w64-mingw32 --with-included-libtasn1 --with-included-unistring --without-p11-kit --prefix=$HOME/myprefix
- make -k install

## Actual results:

Dummy crypt32.dll and ncrypt.dll are installed into $HOME/myprefix/lib

## Expected results:

crypt32.dll and ncrypt.dll are not installed.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1232
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20210510/5216d389/attachment.html>


More information about the Gnutls-devel mailing list