[csw-users] berkeleydb in flux

Gary Casterline casterln at berkeley.edu
Tue Aug 11 18:31:43 CEST 2009


Dagobert Michelsen wrote:
> Hi Gary,
> 
> Am 11.08.2009 um 01:53 schrieb Gary Casterline:
>> I had a problem with DB_File after the berkeleydb pkgs changed:
>>
>>   DB_File needs compatible versions of libdb & db.h
>>   you have db.h version 4.4.20 and libdb version 4.7.25
>>
>> I had to download an old version to get things rolling again.
>> Anyone else see that?
> 
> Were you using the OpenCSW Perl? There has been an update to Perl lately
> to accomodate for the BDB version bump. Could you please verify?
> 

Yes, I have /usr/bin/perl and /usr/local/bin/perl symlinked to
/opt/csw/bin/perl.

Here is my current list of berkeleydb packages:
berkeleydb              [Not installed]     4.7.25,REV=2009.07.01
berkeleydb3             [Not installed]     3.3.11,REV=2009.07.22
berkeleydb4       4.2.52,REV=2009.07.28                      SAME
berkeleydb43            [Not installed]     4.3.29,REV=2009.06.26
berkeleydb43_devel      [Not installed]     4.3.29,REV=2006.01.13
berkeleydb43_doc        [Not installed]     4.3.29,REV=2006.01.13
berkeleydb44      4.4.20,REV=2007.01.27     4.4.20,REV=2009.07.28
berkeleydb44_devel 4.4.20,REV=2009.05.26                     SAME
berkeleydb44_doc        [Not installed]     4.4.20,REV=2009.05.26
berkeleydb4_doc         [Not installed]     4.2.52,REV=2008.02.26
berkeleydb_devel        [Not installed]     4.7.25,REV=2009.07.01
berkeleydb_doc          [Not installed]     4.7.25,REV=2009.07.01
pm_berkeleydb       0.39,REV=2009.08.02                      SAME


Here is the full version check on DB_File.
This is after reverting to   berkeleydb44 4.4.20,REV=2007.01.27

$ perl -V -e "use DB_File; print qq{DB_File ver \$DB_File::VERSION\n}"

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
    uname='sunos build8s 5.8 generic_virtual sun4u sparc sunw,sun-fire-280r'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -xO3 -xtarget=ultra -xarch=v8
-I/opt/csw/bdb44/include -I/opt/csw/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-xO3 -xtarget=ultra -xarch=v8',
    cppflags='-D_REENTRANT -xO3 -xtarget=ultra -xarch=v8
-I/opt/csw/bdb44/include -I/opt/csw/include'
    ccversion='Sun C 5.8 Patch 121015-06 2007/10/03', gccversion='',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-L/opt/csw/bdb44/lib -L/opt/csw/lib -L/usr/lib
-L/usr/ccs/lib -L/lib'
    libpth=/usr/lib /usr/ccs/lib /lib /opt/csw/lib
    libs=-lsocket -lnsl -lgdbm -ldb-4.4 -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldb-4.4 -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/opt/csw/lib'
    cccdlflags='-KPIC', lddlflags='-G -L/opt/csw/bdb44/lib
-L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
  Built under solaris
  Compiled at Oct  8 2008 14:03:19
  @INC:
    /opt/csw/lib/perl/5.8.8
    /opt/csw/share/perl/5.8.8
    /opt/csw/lib/perl/site_perl
    /opt/csw/share/perl/site_perl
    /opt/csw/share/perl/site_perl
    /opt/csw/lib/perl/csw
    /opt/csw/share/perl/csw
    /opt/csw/share/perl/csw
    .
DB_File ver 1.814



More information about the users mailing list