Bind9 dlz dlopen failed
geza at kzsdabas.hu
Mon Apr 2 12:33:58 MDT 2012
> 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
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
More information about the samba-technical