www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Boldt <a...@uni-paderborn.de>
Subject build/8848: dbm libraries not properly linked in binary release
Date Fri, 23 Nov 2001 16:32:20 GMT

>Number:         8848
>Category:       build
>Synopsis:       dbm libraries not properly linked in binary release
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Nov 23 08:40:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     axel@uni-paderborn.de
>Release:        1.3.20 i686 linux 2.2
>Organization:
apache
>Environment:
Linux 2.2.18, Debian GNU Linux distribution
>Description:
Installing the binary release of Apache 1.3.20 (i686 linux2.2) on Debian and starting Apache
will fail with the message
  Cannot load /usr/local/apache/modules/mod_rewrite.so into server:
  /usr/local/apache/modules/mod_rewrite.so: undefined symbol: dbm_fetch
After uncommenting mod_rewrite and dbm_auth from httpd.conf, apache starts and runs fine.

ldd mod_rewrite.so shows that it is dynamically linked against glibc only, not against any
dbm library (which are all installed on my system). This appears to be the problem.

This is a long-standing problem on several operating systems (see apache bug reports #6342,
#6916, #7368 and numerous reports on usenet http://groups.google.com/groups?as_q=apache%20dbm_fetch).
No solution has ever been offered.

Probably related is that the find-dbm-lib script has been reported to be broken at http://groups.google.com/groups?selm=39EF47EF.5EEC61D9%40askit.com
>How-To-Repeat:

>Fix:
When creating the binary, link against the proper dbm library. See http://server.ccl.net/cca/software/UNIX/apache/apacheRH7.0/local-copies/dbm.html
for the issues involved.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message