Subject: Re: CVS commit: pkgsrc/pkgtools/pkg_install
To: Jeremy C. Reed <>
From: grant beattie <>
List: tech-pkg
Date: 04/12/2003 06:31:48
On Fri, Apr 11, 2003 at 10:35:58AM -0700, Jeremy C. Reed wrote:

> $ ldd /usr/sbin/pkg_*
> /usr/sbin/pkg_add:
> => /lib/ (0x2aac8000)
> => /lib/ (0x2aad7000)
>         /lib/ => /lib/ (0x2aaab000)


> Although, this is not what I wanted. I wanted to it to build and
> install the db from pkgsrc and link to it.

This was the intention of the fix - if it links with db2 from pkgsrc,
a runtime dependency is created on an installed pkg, which pkg_install
(and other pkgsrc tools) must avoid.

This way we only include db support if the base system includes it,
if you don't want to use it, you should remove it. :)

> I think the autoconf setup needs to be modified so it checks for db_185.h
> and sets some HAVE_DB_185_H. Also, it needs ot be sure to use the correct
> db includes.

The same applies to Solaris.

Once we can link with only the static libdb, the behavior can be