Subject: Re: pkg/19494: portable pkgtools/pkg_install won't build with db
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 12/23/2002 08:42:38
> 	When building the portable version of pkg_install, with db support,
> 	the library order is incorrect; it's -ldb1 -linstall.  pkgdb.o
> 	(in libinstall.a) can't find dbopen() with that link order.
> 	Fix is simple: use -linstall -ldb1 instead.

This caught my attention.

Does it really need Berkeley DB version 1?

Or will version 2, 3 or 4 work?

If it needs db1 (which Sleepycat has deprecated), then we must add a
databases/db1 package.

Because some operating systems may not have db1. For example, in the past
db1 was included by default with glibc, but recent glibc doesn't include
db1 by default.

   Jeremy C. Reed