[Samba] Make install doesn't replace all shared libraries

Rowland penny rpenny at samba.org
Thu Aug 13 20:39:13 UTC 2020


On 13/08/2020 21:22, Jean-Pierre Coetzee via samba wrote:
> After getting the below errors I investigated by building samba on a vm and
> restoring a backup to that VM and I did not get the same errors. It seems
> that when you run sudo make install that the below shared libraries do not
> get replaced and that is what is causing the errors.
>
> Am I missing something?
>
> I am currently running 4.12.6.
>
> /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen
> /usr/local/samba/lib/ldb/simple_dn.so :
> /usr/local/samba/lib/private/libdsdb-module-samba4.so: version
> `SAMBA_4.11.6' not found (required by /usr/local/samba/lib/ldb/simple_dn.so)
>
> /usr/local/samba/sbin/samba_dnsupdate: ldb: unable to dlopen
> /usr/local/samba/lib/ldb/simple_ldap_map.so :
> /usr/local/samba/lib/private/libldbsamba-samba4.so: version `SAMBA_4.11.6'
> not found (required by /usr/local/samba/lib/ldb/simple_ldap_map.so)
>
> /usr/local/samba/sbin/samba_kcc: ldb: unable to dlopen
> /usr/local/samba/lib/ldb/local_password.so :
> /usr/local/samba/lib/private/libsamdb-common-samba4.so: version
> `SAMBA_4.11.6' not found (required by
> /usr/local/samba/lib/ldb/local_password.so)
>
> /usr/local/samba/sbin/samba_kcc: ldb: unable to dlopen
> /usr/local/samba/lib/ldb/simple_dn.so :
> /usr/local/samba/lib/private/libdsdb-module-samba4.so: version
> `SAMBA_4.11.6' not found (required by /usr/local/samba/lib/ldb/simple_dn.so)
>
>   /usr/local/samba/sbin/samba_kcc: ldb: unable to dlopen
> /usr/local/samba/lib/ldb/simple_ldap_map.so :
> /usr/local/samba/lib/private/libldbsamba-samba4.so: version `SAMBA_4.11.6'
> not found (required by /usr/local/samba/lib/ldb/simple_ldap_map.so)

Ah, they cannot be replaced because they have been removed from Samba, 
just remove them and rerun 'sudo make install'

Rowland





More information about the samba mailing list