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

Re: Problem with Perl's DB_File



Hello!

On Thu, Jul 10, 2008 at 06:34:10PM +0100, Samuel Thibault wrote:
> Thomas Schwinge, le Thu 10 Jul 2008 19:17:44 +0200, a écrit :
> > Joey traced it down to the following:
> > 
> >     $ perl -e 'use CGI::Session::Driver::db_file'
> >     
> >     DB_File needs compatible versions of libdb & db.h
> >             you have db.h version 4.6.19 and libdb version 4.6.21
> >     Compilation failed in require at /usr/share/perl5/CGI/Session/Driver/db_file.pm line 8.
> >     BEGIN failed--compilation aborted at /usr/share/perl5/CGI/Session/Driver/db_file.pm line 8.
> >     Compilation failed in require at -e line 1.
> >     BEGIN failed--compilation aborted at -e line 1.
> > 
> > Michael, could you please rebuild the affected packages to fix this
> > problem?
> 
> Errr, don't you just need to upgrade libdb4.6-dev to 4.6.21-10 ?

That's the version which is installed now, but most probably wasn't at
the time the package was built.

    gnubber:~# apt-cache policy libdb4.6-dev libdb4.6
    libdb4.6-dev:
      Installed: 4.6.21-10
      Candidate: 4.6.21-10
      Version table:
     *** 4.6.21-10 0
            500 http://ftp.us.debian.org unstable/main Packages
            100 /var/lib/dpkg/status
    libdb4.6:
      Installed: 4.6.21-10
      Candidate: 4.6.21-10
      Version table:
     *** 4.6.21-10 0
            500 http://ftp.us.debian.org unstable/main Packages
            100 /var/lib/dpkg/status
    gnubber:~# perl -e 'use CGI::Session::Driver::db_file'
    
    DB_File needs compatible versions of libdb & db.h
            you have db.h version 4.6.19 and libdb version 4.6.21
    Compilation failed in require at /usr/share/perl5/CGI/Session/Driver/db_file.pm line 8.
    BEGIN failed--compilation aborted at /usr/share/perl5/CGI/Session/Driver/db_file.pm line 8.
    Compilation failed in require at -e line 1.
    BEGIN failed--compilation aborted at -e line 1.


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


Reply to: