Samba4 BIND DLZ DLOPEN compile errors

Amitay Isaacs amitay at gmail.com
Thu Dec 29 03:10:59 MST 2011


Hi Michael,

On Thu, Dec 29, 2011 at 8:59 PM, Michael Wood <esiotrot at gmail.com> wrote:
> On 29 December 2011 09:53, Amitay Isaacs <amitay at gmail.com> wrote:
>> HI Aubrey,
>>
>> On Thu, Dec 29, 2011 at 4:39 AM, Aubrey Ekstrom
>> <aekstrom at proclivitysystems.com> wrote:
>>
>>> I configured the build with the following:
>>>
>>> ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu
>>> --target=i686-redhat-linux-gnu --prefix=/usr --exec-prefix=/usr
>>> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc--datadir=/usr/share
>>> --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
>>> --sharedstatedir=/var/lib --with-libtool --localstatedir=/var
>>> --enable-threads --disable-static --disable-openssl-version-check
>>> --with-dlz-dlopen --with-gssapi=yes
>>>
>>> After extensive searching I have been unable to find any more info. I also
>>> posted this to the newsgroup where I found that patch, but have not heard
>>> back. Any help or suggestions are greatly appreciated!
>>
>> Usually you should not need to specify --build/--host/--target options
>> unless you
>> are building for some other target other than the build machine. I would suggest
>> you drop those options.
>
> Right.  Also "--target" doesn't make sense for bind, since it's not a compiler.
>
>> Also, there is no --with-dlz-dlopen option. It is --with-dlopen.
>
> This is slightly confusing, since the documentation I've seen says to
> build bind with "DLZ dlopen" support.  Perhaps the docs could be
> modified to add "(--with-dlopen)".

Here is the extract from BIND 9.8.1-P1 configure --help,

  --with-dlopen=ARG       Support dynamically loadable DLZ drivers

BIND option --with-dlopen is the correct option to use to build DLZ dlopen.

Amitay.


More information about the samba-technical mailing list