[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dblibs



   thanks for the help..

>>>>> "RH" == Raphael Hertzog <rhertzog@hrnet.fr> writes:

    RH> Le Thu, Jul 01, 1999 at 01:03:54PM -0500, Kermit Tensmeyer
    RH> écrivait:

    >> Can someone explain to me, the hows and whys of libdb and
    >> libdb2 as used in Debian 2.1.

    RH> libdb == libdb2. It's provided by the glibc2.1 ...

  /lib/libdb.so. => libdb-2.0.7.so
  /usr/lib/libdb.so => libdb-2.0.7
  /usr/lib/libdb2.so => libdb2.so.2.4.14

   
    >> It seems that a fair number of program, utilities and
    >> 'features' seem to use the 1.85 version, but there is also a
    >> 2.4.14 set in /usr/lib, and a symbolic link to libdb2.

    RH> libdb2 is in /lib, but there are some symlinks in /usr/lib

  didn't find it /lib but no-matter...


    >> I tried to upgrade a system (libdb 2.7.5 libdb.a libdb.so, and
    >> include files), for building perl5, apache and mod-perl, but a
    >> number of items broke almost at once.

    RH> Concerning perl. All perl-5.004 are built with libdb1 (db
    RH> 1.85) but the new perl-5.005 is built with libdb2.

 I'm building perl5.005.03 and perl5.005.057, for use with mod-perl
1.20 and sybase.

    RH> What specific problem do you want to solve ?

 As debian was installed a number of programs are installed which have 
a dependency on the 1.85 library. When I replace the symbolic link 
  /lib/libdb.2.so => libdb.2.7.5, a number of programs broke

   every network sensitive tool complained about /usr/lib/libnss_db.so 
and not finding function dbopen.
   cron stop working because symbolic libaries did not load properly.
   mail stop working because exim could not find dbopen.

 ( dbopen is the function name in 1.85 which conflicts with sybase
usage, where db_open is the name used by libdb 2.1.X or greater.)
  
  perl expects to find -ldb and /usr/include/db.h to have the same
version number and that version number > 2.4.6.

  How can I provide that functionality (have -ldb of release 2.7.5)
without breaking the current system which requires -ldb be 1.8.5?



    RH> Cheers, -- Hertzog Raphaël >> 0C4CABF1 >>
    RH> http://prope.insa-lyon.fr/~rhertzog/

-- 
    =================================================
Kermit Tensmeyer   - kermit@brite.net    [  dallas, texas ]


Reply to: