NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Wednesday May 12, 2004
The Mandrakelinux bug
is a tricky problem. The apache shipped with Mandrakelinux is built
with the version 3 of the Berkeley DB. On the other hand, the DB_File perl
module is built with version 4. So what happens when one tries to load DB_File
in mod_perl with this apache? Yes, DB_File croaks with an error message
saying that it needs compatible versions of libdb and db.h. So currently we
have a rather severe incompatibility between perl and mod_perl on Mandrakelinux
(the development version).
At this point we have several options:
- Rebuild apache with db 4
- Rebuild DB_File with db 3
- Rebuild DB_File or apache with a statically linked libdb. That's ugly.
Of course, the main problem with a major upgrade of the Berkeley DB used
by an application is that it can break some code written by users
using this application, or mess up their data. I need to investigate what's the proper way to handle this kind of upgrades and how it has been done in the past.
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.