Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2000 03:07:02 -0700 (PDT)
From:      matrix@ipform.ru
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/21659: Berkeley db library is statically compiled into libc, which make use of newer BDB very difficult, if possible at all
Message-ID:  <20000930100702.8062137B502@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21659
>Category:       bin
>Synopsis:       Berkeley db library is statically compiled into libc, which make use of newer BDB very difficult, if possible at all
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 30 03:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Artem Koutchine
>Release:        RELENG_4 (stable)
>Organization:
>Environment:
FreeBSD osiris.ipform.ru 4.1-STABLE FreeBSD 4.1-STABLE #0: Sun Sep 24 18:10:01 MSD 2000 root@osiris.ipform.ru:/usr/obj/usr/src/sys/THIS i386
>Description:
FreeBSD has Berkeley DB package statically linked into libc. The db version is 1.85. When, for example, perls DB_File is installed it is linked against libc (complaining that libdb is not found) and therefore uses Bdb 1.85, which is very old. AFter installing a newer BDB (say, 2.7.7 from the ports) DB_FIle still links against the old db lib and everything in the system is using the old db library. This make very difficult (or impossible) to exchnage db file with other oses which use Berkeley DB of newer version.
>How-To-Repeat:
Create a db file with a newer Berkely DB library where it is possible to do so. Try to read it in FBSD. Install BDB 2.7.7 from the prost, recompile DB_File and try to access it via perl script. Not luck.
>Fix:
Stop statically linking libdb into libc. Make a separate libdb library, so user can easily upgrade berkeley db library when newer releases are available.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000930100702.8062137B502>