DB_File needs compatible versions of libdb & db.h

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default DB_File needs compatible versions of libdb & db.h

    Hello all,
    When I try to use DB_File, I get the following error:
    DB_File needs compatible versions of libdb & db.h
    you have db.h version 4.1.24 and libdb version 4.1.25
    Compilation failed in require at
    /apollo/env/BBS-michalek/perl/lib/Amazon/Personalization/BDBStruct.pm
    line 19.
    BEGIN failed--compilation aborted at
    /apollo/env/BBS-michalek/perl/lib/Amazon/Personalization/BDBStruct.pm
    line 19.
    Compilation failed in require at ./keyword-browse-ftc.pl line 26.
    BEGIN failed--compilation aborted at ./keyword-browse-ftc.pl line 26.

    I use perl-std-5.6.1 and RHEL3. I have installed CPAN BerkeleyDB-0-27.
    Can someone help me reg this.

    njaggan@gmail.com Guest

  2. Similar Questions and Discussions

    1. DB_File problem
      I am working on a script to base64 encode a file and then scramble the lines but also keep track of the order in which these lines were scrambled....
    2. DB_File problems (again)
      Hi Rich/Dave, The deletion problem exists for me too .... There are around 90000 keys in my dbf file ... The key i found two days back doesn't...
    3. DB_File question
      I have built perl5.8.2 with gcc 3.3.1 on solaris 8. It found the libdb in the gnu/lib and included DB_File from the ext package for me. However,...
    4. db_file
      anyone seen this error before: I'm just trying to run this script: #!/usr/bin/perl -w use strict; use DB_File;
    5. using 'DB_File' versus just plain tie() ?
      can anyone shed some light on the pros and cons of tie() ing to a hash using 'DB_FILE' rather than just a plain tie? What I have been playing with...
  3. #2

    Default Re: DB_File needs compatible versions of libdb & db.h

    [email]njaggan@gmail.com[/email] wrote:
    > Hello all,
    > When I try to use DB_File, I get the following error:
    > DB_File needs compatible versions of libdb & db.h
    > you have db.h version 4.1.24 and libdb version 4.1.25
    > Compilation failed in require at
    > /apollo/env/BBS-michalek/perl/lib/Amazon/Personalization/BDBStruct.pm
    > line 19.
    > BEGIN failed--compilation aborted at
    > /apollo/env/BBS-michalek/perl/lib/Amazon/Personalization/BDBStruct.pm
    > line 19.
    > Compilation failed in require at ./keyword-browse-ftc.pl line 26.
    > BEGIN failed--compilation aborted at ./keyword-browse-ftc.pl line 26.
    >
    > I use perl-std-5.6.1 and RHEL3. I have installed CPAN BerkeleyDB-0-27.
    > Can someone help me reg this.
    You may have multiple versions of Berkeley DB around.

    Take a look at the section "Incompatible versions of db.h and libdb" in
    the source README.

    hth,
    --
    Chales DeRykus
    Charles DeRykus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139