On 12 Jul 1998 16:53:41 -0000, [EMAIL PROTECTED] wrote: >Synopsis: dbmmanage generates incorrect file > >State-Changed-From-To: open-feedback >State-Changed-By: marc >State-Changed-When: Sun Jul 12 09:53:40 PDT 1998 >State-Changed-Why: >This is almost certainly due to using different *db* >libraries in perl and Apache. > >If you try modifying the order of the: > ># -ldb -lndbm -lgdbm >BEGIN { @AnyDBM_File::ISA = qw(DB_File NDBM_File GDBM_File) } > >line to have what you compiled Apache with first, does that >make it work better?
No. In fact, it makes it worse. The resulting file is the wrong size, 12309 bytes vs 16384. The AuthDBM module (after renaming the file to put the extension on) claims it can't open the file. Apache was compiled "out of the box" with the configure/make process. Some options are provided to config, but none refer to dbm or db support. Mostly directories and suexec. To look at my /usr/lib/ directory, there are essentially 2 choices with 3 names. libdb.a came with glibc-devel-2.0.7-13 and is libdb.so.2. libndbm.so points to libdb.so and libgdbm came from gdbm-1.7.3-17 and is libgdbm.so.2.0.0. It seems the problem is primarily the extension. mod_auth_dbm uses the dbmopen and expects the .db, but whatever perl is using doesn't supply it by default. Mike was here...