[Samba] Error: . /usr/lib64/samba/libsamba-credentials.so.1: undefined symbol: smb_krb5_context_set_event_ctx

Rowland penny rpenny at samba.org
Mon May 17 12:00:33 UTC 2021


On 17/05/2021 12:45, Mueller via samba wrote:
> Dera All,
>
> after compiling and installing samba 4.14.4 successfull ( without any
> errors) on fedora 34.
>
> An error occurs :
>
> [root at dom samba-4.14.4]# smbd -b
> smbd: symbol lookup error: /usr/lib64/samba/libsamba-credentials.so.1:
> undefined symbol: smb_krb5_context_set_event_ctx, version SAMBA_4.14.4
>
> ./configure  --enable-fhs   --with-systemd --prefix=/usr
> --systemd-install-services  --sbindir=/usr/sbin   --bindir=/usr/bin
> --sysconfdir=/etc/samba  --datadir=/usr/share   --libdir=/usr/lib64/samba
> --localstatedir=/var/lib/samba    --with-piddir=/var/run
> --with-privatedir=/var/lib/samba/private  --with-cachedir=/var/lib/samba
> --with-sockets-dir=/var/run/samba
> --with-privileged-socket-dir=/var/lib/samba
>

At a guess, you probably didn't install all the required packages to 
build Samba, see here:

https://git.samba.org/?p=samba.git;a=blob_plain;f=bootstrap/generated-dists/fedora33/bootstrap.sh;hb=v4-14-test

It is for Fedora 33, but it is the closest we have.

Rowland





More information about the samba mailing list