From owner-freebsd-bugs Sat Sep 30 3:10: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 19AE737B66C for ; Sat, 30 Sep 2000 03:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA56576; Sat, 30 Sep 2000 03:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 8062137B502; Sat, 30 Sep 2000 03:07:02 -0700 (PDT) Message-Id: <20000930100702.8062137B502@hub.freebsd.org> Date: Sat, 30 Sep 2000 03:07:02 -0700 (PDT) From: matrix@ipform.ru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/21659: Berkeley db library is statically compiled into libc, which make use of newer BDB very difficult, if possible at all Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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