samba4: bind error #define DLZ_DLOPEN_VERSION 1

Kev Latimer klatimer at tolent.co.uk
Thu Apr 19 02:39:07 MDT 2012


On 19/04/2012 09:38, Kev Latimer wrote:
> On 18/04/2012 16:04, Amitay Isaacs wrote:
>> Hi Steve,
>>
>> On Wed, Apr 18, 2012 at 11:34 PM, steve<steve at steve-ss.com>  wrote:
>>> 4.0.0alpha20-GIT-c69c07e openSUSE 12.1 bind 9.8
>>>
>>> Hi. A strange problem with bind not starting after overwriting a git from 2
>>> weeks ago. Something like 'should be version 1 not version 2'
>>>
>>> It seems to default to the new bind unless we add:
>>> #define BIND_VERSION_9_8    1
>>> to:
>>> source4/dns_server/dlz_minimal.h
>>>
>>> to get this bit right:
>>> #ifdef BIND_VERSION_9_8
>>> #define DLZ_DLOPEN_VERSION 1
>>> #else
>>> #define DLZ_DLOPEN_VERSION 2
>>> #endif
>>>
>>> Where should I have defined BIND_VERSION_9_8? (I think it's my fault since
>>> this is an overwrite)
>> You shouldn't have to define it anywhere. This #ifdef is used to build
>> DLZ modules for both BIND 9.8 and BIND 9.9 versions. After the build,
>> there will be two DLZ modules dlz_bind9.so and dlz_bind9_9.so. Make
>> sure you have uncommented the correct line in private/named.conf.
>>
>>> Should we be moving to bind 9.9?
>> You can use BIND 9.9 if it's available on your system by correctly
>> choosing dlz_bind9_9.so module.
>>
>> Amitay.
>
> I've just upgraded my two-week-old git to 4.0.0alpha20-GIT-7ca706d and 
> had this same issue.  I only have one dlz_bind9.so file, no distinct 
> 9.8 or 9.9 modules.  I get the same error in startup:
>
> Apr 19 09:22:13 ho-dc1 named[20719]: dlz_dlopen: incorrect version 2 
> should be 1 in '/usr/local/samba/lib/bind9/dlz_bind9.so'
>
> This is BIND 9.8.1-P1, same BIND as I've been using throughout.
>
> My C isn't good enough to figure out why it isn't making two files, 
> I'm afraid :-P
> -- 
> Kev


-- 
Kevin Latimer
_Network Manager_

*Tolent Construction Ltd*
Ravensworth House
5th Avenue Business Park, Team Valley
Gateshead, Tyne & Wear, NE11 0HF

Tel: +44 (0)191 4870505
Fax: +44 (0)191 4872990

Website: 	www.tolent.co.uk <http://www.tolent.co.uk>

This message is intended only for the use of the person(s) ('the 
intended recipient(s) ') to whom it is addressed.
It may contain information which is privileged and confidential within 
the meaning of applicable law.

If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in 
reliance on it and notify the sender immediately.

*The views expressed in this communication may not necessarily be the 
views held by the Company.*

Registered office: Ravensworth House, 5th Avenue Business Park, Team 
Valley, Gateshead, Tyne & Wear, NE11 0HF.
Registered in England No. 2450574

*Please note Tolent Plc monitors email sent or received. Further 
communication will signify your consent to this.*



More information about the samba-technical mailing list