Send inn-workers mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."


Today's Topics:

   1. Re: undefined reference to  `__db_ndbm_open' (Julien ?LIE)


----------------------------------------------------------------------

Message: 1
Date: Tue, 06 Aug 2013 23:38:50 +0200
From: Julien ?LIE <[email protected]>
To: [email protected]
Subject: Re: undefined reference to  `__db_ndbm_open'
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi The Doctor,

> #define HAVE_BDB_DBM 1
> /* #undef HAVE_DB1_NDBM_H */
> /* #undef HAVE_DBM */
> /* #undef HAVE_GDBM_NDBM_H */
> #define HAVE_NDBM_H 1

I have just committed a patch, hoping it will fix the issue you are 
facing.  Could you please tell whether tomorrow's snapshot builds fine 
on your system?

I believe the issue comes from the fact that HAVE_BDB_DBM is set to 1 
even though the Berkeley DB library you are using does not have ndbm 
support.
I have added a test at configure time to make sure that HAVE_BDB_DBM is 
set to 1 only when Berkeley DB is shipped with its ndbm compatibility 
layer.  It was otherwise always assumed to be the case.

Also, HAVE_DBM is not set on your system whereas you have ndbm.h 
(HAVE_NDBM_H).  I believe it is another bug because ckpasswd tries to 
use ndbm.h whereas HAVE_DBM is not set (thus telling dbm support will 
fail).  I guess you have gdbm support so, in case it is the case, 
HAVE_DBM will be set to 1 and ndbm.h will properly be usable; otherwise, 
HAVE_DBM will still be undef, and ckpasswd will not try to use ndbm.h 
(which was not the case before).

-- 
Julien ?LIE

? ? Je t'ai pr?par? une bonne soupe dont tu me diras des
     nouvelles, mon gar?on !
   ? Pour moi, ?a, ce n'est pas des bonnes nouvelles ! ? (Ast?rix)


------------------------------

_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

End of inn-workers Digest, Vol 54, Issue 3
******************************************

Reply via email to