Subject: Re: CVS commit: pkgsrc/pkgtools/pkg_install
To: Jeremy C. Reed <email@example.com>
From: grant beattie <firstname.lastname@example.org>
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_*
> libdb.so.2 => /lib/libdb.so.2 (0x2aac8000)
> libc.so.6 => /lib/libc.so.6 (0x2aad7000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (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