Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: amavisd startup error #358529
    XL
    Participant

    I downloaded Berkeley DB v 4.2.52 and ran ranlib on libdb.a .
    However when I try to cpan BerkeleyDB now, the make test fails.
    This is what I get”:

    Parsing config.in…
    Looks Good.
    Checking if your kit is complete…
    Looks good
    Note (probably harmless): No library found for -ldb
    Writing Makefile for BerkeleyDB
    cp BerkeleyDB/Hash.pm blib/lib/BerkeleyDB/Hash.pm
    cp BerkeleyDB.pm blib/lib/BerkeleyDB.pm
    AutoSplitting blib/lib/BerkeleyDB.pm (blib/lib/auto/BerkeleyDB)
    cp BerkeleyDB/Btree.pm blib/lib/BerkeleyDB/Btree.pm
    cp BerkeleyDB.pod blib/lib/BerkeleyDB.pod
    /usr/bin/perl /System/Library/Perl/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/ExtUtils/typemap -typemap typemap BerkeleyDB.xs > BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c
    cc -c -I./libraries/4.2.41/include -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\”0.25\” -DXS_VERSION=\”0.25\” “-I/System/Library/Perl/darwin-2level/CORE” BerkeleyDB.c
    Running Mkbootstrap for BerkeleyDB ()
    chmod 644 BerkeleyDB.bs
    rm -f blib/arch/auto/BerkeleyDB/BerkeleyDB.bundle
    LD_RUN_PATH=”” MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup BerkeleyDB.o -o blib/arch/auto/BerkeleyDB/BerkeleyDB.bundle
    ld: warning -prebind has no effect with -bundle
    chmod 755 blib/arch/auto/BerkeleyDB/BerkeleyDB.bundle
    cp BerkeleyDB.bs blib/arch/auto/BerkeleyDB/BerkeleyDB.bs
    chmod 644 blib/arch/auto/BerkeleyDB/BerkeleyDB.bs
    Manifying blib/man3/BerkeleyDB.3
    /usr/bin/make — OK
    Running make test
    PERL_DL_NONLAZY=1 /usr/bin/perl “-MExtUtils::Command::MM” “-e” “test_harness(0, ‘blib/lib’, ‘blib/arch’)” t/*.t
    t/btree……..dyld: /usr/bin/perl Undefined symbols:
    /private/var/root/.cpan/build/BerkeleyDB-0.25/blib/arch/auto/BerkeleyDB/BerkeleyDB.bundle undefined reference to _db_create expected to be defined in a dynamic image
    /private/var/root/.cpan/build/BerkeleyDB-0.25/blib/arch/auto/BerkeleyDB/BerkeleyDB.bundle undefined reference to _db_env_create expected to be defined in a dynamic image
    /private/var/root/.cpan/build/BerkeleyDB-0.25/blib/arch/auto/BerkeleyDB/BerkeleyDB.bundle undefined reference to _db_strerror expected to be defined in a dynamic image
    /private/var/root/.cpan/build/BerkeleyDB-0.25/blib/arch/auto/BerkeleyDB/BerkeleyDB.bundle undefined reference to _db_version expected to be defined in a dynamic image
    t/btree……..dubious
    Test returned status 0 (wstat 5, 0x5)

    Then just for a test I tried starting amavisd and got:

    dyld: perl Undefined symbols:
    /Library/Perl//darwin-2level/auto/BerkeleyDB/BerkeleyDB.bundle undefined reference to _db_create expected to be defined in a dynamic image
    /Library/Perl//darwin-2level/auto/BerkeleyDB/BerkeleyDB.bundle undefined reference to _db_env_create expected to be defined in a dynamic image
    /Library/Perl//darwin-2level/auto/BerkeleyDB/BerkeleyDB.bundle undefined reference to _db_strerror expected to be defined in a dynamic image
    /Library/Perl//darwin-2level/auto/BerkeleyDB/BerkeleyDB.bundle undefined reference to _db_version expected to be defined in a dynamic image
    Trace/BPT trap

    I have no idea what I am doing wrong here. Please help.

    Thanks.

    in reply to: amavisd startup error #358515
    XL
    Participant

    I downloaded Berkeley DB v4.2.52 when I noticed that it does not come with db.h. Where can I find this file? And when I do find it, exactly where am I supposed to put it on my system for cpan to install BerkeleyDB?

    Thanks for the help.

    in reply to: Apache Error During Startup. #355931
    XL
    Participant

    I resolved my own issue.
    Everything is working fine now.
    Traced the issue to a corrupt httpd.conf file.

Viewing 3 posts - 1 through 3 (of 3 total)