develooper Front page | perl.perl5.porters | Postings from May 2004

[perl #29612] ndbm failure in make test

Thread Next
From:
clock @ twibright . com
Date:
May 16, 2004 04:12
Subject:
[perl #29612] ndbm failure in make test
Message ID:
rt-3.0.9-29612-87497.2.06660848206496@perl.org
# New Ticket Created by  clock@twibright.com 
# Please include the string:  [perl #29612]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=29612 >



This is a bug report for perl from clock@twibright.com,
generated with the help of perlbug 1.34 running under perl v5.8.0.


-----------------------------------------------------------------
[Please enter your report here]

Following the INSTALL instructions doesn't yield flawless perl compilation
on all systems.

On my system, make test fails on 5 tests all with problems with ndbm.

/home/clock/perl-5.8.4-bad/perl: relocation error: ../lib/auto/NDBM_File/NDBM_File.so: undefined symbol: dbm_open
# STATUS: 32512
# Failed at run/fresh_perl.t line 53

ndbm is present on my system:
clock@beton:~$ locate ndbm
/usr/include/db1/ndbm.h
/usr/include/gdbm/ndbm.h
/usr/include/ndbm.h
/usr/lib/libndbm.a
/usr/lib/libndbm.so
/usr/lib/perl5/site_perl/5.8.0/i686-linux/ndbm.ph

It is provided by gdbm. I ensured up-to-date version of gdbm is installed
by freshly reinstalling gdbm (gdbm-1.8.3), removing perl source and trying
everything again. I also did ldconfig after reinstalling gdbm. I also don't
have full disk.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=install
    severity=medium
---
Site configuration information for perl v5.8.0:

Configured by root at Fri Jan 16 18:54:38 CET 2004.

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.23, archname=i686-linux
    uname='linux beton 2.4.23 #4 thu jan 1 14:23:43 cet 2004 i686 unknown '
    config_args='-des -Darchname=i686-linux -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-O2 -march=athlon-xp -fomit-frame-pointer -fstrength-reduce -fschedule-insns -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman3ext=3pm -Dcf_by=Gentoo -Ud_csh -Di_gdbm -Di_db -Di_ndbm'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL5 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -march=athlon-xp -fomit-frame-pointer -fstrength-reduce -fschedule-insns',
    cppflags='-DPERL5 -DPERL5 -fno-strict-aliasing'
    ccversion='', gccversion='3.2.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lpthread -lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil
    perllibs=-lpthread -lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.3.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.8.0:
    /etc/perl
    /usr/lib/perl5/site_perl/5.8.0/i686-linux
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i686-linux
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.0/i686-linux
    /usr/lib/perl5/5.8.0
    /usr/local/lib/site_perl
    .

---
Environment for perl v5.8.0:
    HOME=/home/clock
    LANG (unset)
    LANGUAGE (unset)
    LC_CTYPE=cs_CZ
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/clock/usr/bin:/home/clock/bin:/opt/qt/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/opt/java/bin:/usr/bin/X11:/usr/local/ssl/bin:/usr/local/sbin:/usr/local/samba/bin:/usr/local/samba/sbin:.:/opt/j2sdk/j2sdk/bin
    PERL_BADLANG (unset)
    SHELL=/bin/sh


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About