Skip to content

Build of samba-4.15.0 on Linux for x86_64 target is failing with gnutls

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.

Thanks, D Pal

Edited by Daiki Ueno