Bind9 dlz dlopen failed

Amitay Isaacs amitay at gmail.com
Mon Apr 2 17:39:47 MDT 2012


2012/4/3 Gémes Géza <geza at kzsdabas.hu>:
>> Hi,
>>
>> Yesterday I've did a fresh git clone (4.0.0alpha19-GIT-0aacdbf) and an
>> upgrade from samba3 (on a testbox, which had a an older
>> 4.0.0alpha18-GIT-965b831 provisioned domain with bind9 dlz).
>>
>> On startup bind9 (9.8.1) writes to syslog:
>>
>> Loading 'AD DNS Zone' using driver dlopen
>> dlz_dlopen failed to open library
>> '/usr/local/samba/lib/bind9/dlz_bind9.so' - libsamdb-common.so: cannot
>> open shared object file: No such file or directory
>> dlz_dlopen of 'AD DNS Zone' failed
>> SDLZ driver failed to load.
>> DLZ driver failed to load.
>> loading configuration: failure
>> exiting (due to fatal error)
>>
>> I've found that libsamdb-common.so resides in /usr/local/samba/lib/private/.
>>
> I've found a workaround to this (IMHO it is not a proper solution).
>
> I've symlinked the following files from /usr/local/samba/lib/private to
> /usr/local/samba/lib:
>
> libauthkrb5.so -> private/libauthkrb5.so
> libevents.so -> private/libevents.so
> libldb.so.1 -> private/libldb.so.1
> libndr-samba.so -> private/libndr-samba.so
> libsamdb-common.so -> private/libsamdb-common.so
> libtalloc.so.2 -> private/libtalloc.so.2
>
> Cheers
>
> Geza

You shouldn't need to do that. What configure and build commands did you use?

Amitay.


More information about the samba-technical mailing list