[gnutls-devel] GnuTLS | Build of samba-4.15.0 on Linux for x86_64 target is failing with gnutls (#1278)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Oct 5 12:41:27 CEST 2021

Debananda Pal created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1278

Hi All,

I am facing below issue while building samba-4.15.0 (without --enable-fips140-mode in gnutls), I am getting issue with fips mode support as below :
Checking for gnutls fips mode support: UNKNOWN
According to Release Notes for Samba 4.15.0 :
Previously many tools silently ignored unknown options. To prevent unexpected
behaviour all tools will now consistently reject unknown options.

After adding --enable-fips140-mode on gnutls config, I am getting nettle library not found issue, though the library is present in build path :
linux/gnutls/_build/oak.x86_64/work/gnutls-3.7.2/lib/.libs/lt-fipshmac: error while loading shared libraries: libnettle.so.8: cannot open shared object file: No such file or directory
Makefile:3392: recipe for target '.libs/.libgnutls.so.30.hmac' failed

Note: As --without-dnsupdate option is not supported, I removed the option, but failed to build gnutls
Please help me to proceed further. Below are the config options used for gnutls :
'--libdir=/lib64', '--prefix=/', '--with-nettle-mini', '--with-included-unistring', '--with-included-libtasn1', '--disable-silent-rules', '--without-p11-kit', '--enable-silent-rules', '--disable-rpath', '--enable-fips140-mode', '--enable-sha1-support', '--with-system-priority-file=/tandberg/etc/gnutls-conf'[build.log](/uploads/11a2110728af93fc80219d8d8d308cbd/build.log)
I have attached gnutls build log for your kind attention.

D Pal

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1278
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/20211005/3ea98661/attachment.html>

More information about the Gnutls-devel mailing list