Building Samba 4.14 on CentOS 8.0 and gnutls

Alexander Bokovoy ab at
Fri Feb 12 07:44:05 UTC 2021

On to, 11 helmi 2021, Richard Sharpe via samba-technical wrote:
> Hi folks,
> I am slowly getting Samba to build.
> The latest problem I hit is this:
> -------------------
> Checking compiler accepts ['-Wno-error=unused-result']
>                          : yes
> Using in-tree heimdal kerberos defines
> Checking for GnuTLS >= 3.4.7
>                          : not found
> ---------------------
> However, what was required was not gnutls (which was already
> installed) but gnutls-devel.
> How can this be fixed?

By installing corresponding development packages. Almost all checks in
that configure check do check for a presence of development parts of the
packages, not just binary libraries. Please follow instructions as
provided in the other response.

Perhaps an easier way would be to install 'yum-utils' if they are
missing and do

# yum-builddep samba

That implies you have source repositories available (they'll be
automatically enabled for this specific operation) and it would pull
a list of packages required by the source package.

/ Alexander Bokovoy

More information about the samba-technical mailing list