Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

Journal of rafael (2125)

Wednesday May 12, 2004
12:23 PM

Interesting problems

[ #18714 ]
The Mandrakelinux bug #9127 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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.