-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, May 10, 1999 4:12 PM
Subject: [BugDB] redhat 6.0 / glibc 2.1 problem (PR#169)


>Full_Name: Simon Lok
>Version: 2.2.8-1.3.6
>OS: RedHat 6.0
>Submission from: gin.inw.com (207.221.146.15)
>
>
>I believe that there is a minor little annoying bug in your
>latest distribution.  Under RedHat 6.0, the file nbdm.h has
>been moved from /usr/include to /usr/include/db1.  I am assuming
>that this is probably the case for all glibc 2.1 based systems.
>There is only one reference that I found (in the mod_ssl.h file)
>and by changing the code from
>
>#include <ndbm.h>
>
>to
>
>#include <db1/ndbm.h>
>
>your package now compiles and runs fine on my RedHat 6.0 system.
>As for my background, I am fairly familiar with your package and
>have used it extensively under RedHat 5.2 without a hitch.
>
>--SL

This is also the case with Debian 2.0/2.1 when upgraded to glibc 2.1.  I've
never built mod_ssl on a glibc 2.0 system, so I don't know if this change is
really related to the glibc version, but if it is, the attached patch should
fix it (note: the patch is against mod_ssl 2.2.7, I believe).

A fix would be to include "features.h" in mod_ssl.h, and insert code like
the following:

#if defined(__GLIBC_MINOR__) && __GLIBC_MINOR__ > 0
#include <db1/ndbm.h>
#else
#include <ndbm.h>

where currently it just has:

#include <ndbm.h>

I'd submit an actual patch, but I'd be patching against mod_ssl 2.2.7, and
it seems like there are more recent versions.

Dave Neuer
Software Engineer
Futuristics Labs, Inc.


______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to