Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] db-4.0.14 marked testing
Date: Fri, 01 Aug 2003 14:16:55
Message-Id: 200308011616.47049.pauldv@gentoo.org
1 Ok,
2
3 I have finally marked db-4.0.14 as testing. This version now uses versioned
4 symbols so that it can coexist with db-3. All packages that use db should
5 automatically link to db-4 if they support it, and else link to db-3. If that
6 is not the case (and there is no comment to that respect in the changelog)
7 please report it in bugzilla.
8
9 The versioned symbols cause problems with a number of packages that don't know
10 of the possibility. They look for the unversioned symbols in the library
11 which are obviously not there. This could cause problems.
12
13 All headers are in version specific dirs. So if you need the db3 headers, they
14 are in /usr/include/db3/db.h . To get best compatibility there are links in
15 /usr/include that point to the latest version of the header. db-3.2.9-r6 is
16 changed to follow this.
17
18 The same thing holds for libdb.so, it is automatically set up to point to the
19 latest library. If you want to link db-3.2.9 then specify -ldb-3 instead of
20 -ldb. Some packages try -ldb3 which will not work, as that is not the
21 recommended way of db versioning.
22
23 Last the utilities that come with db also have the version number in their
24 name, so db_archive is now called db3_archive for db3 and db4_archive for
25 db4. This way they can coexist.
26
27 Paul
28
29 --
30 Paul de Vrieze
31 Researcher
32 Mail: pauldv@××××××.nl
33 Homepage: http://www.devrieze.net

Replies

Subject Author
Re: [gentoo-dev] db-4.0.14 marked testing "Robin H.Johnson" <robbat2@g.o>