Subject: Re: missing .so files on BSD/OS
To: grant beattie <grant@NetBSD.org>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 10/04/2003 21:06:12
On Sun, Oct 05, 2003 at 04:21:30AM +1000, grant beattie wrote:
> On Sat, Oct 04, 2003 at 10:32:42AM -0700, Jeremy C. Reed wrote:
> 
> > Then libtool-base installed better. It is only missing one file now:
> > pkg_create: can't stat `/usr/pkg/lib/libltdl.so.3.0'
> > 
> > It is really libltdl.so.3.0.0
> 
> you will probably need to set version_type=sunos for bsdi in libtool,
> see libtool/patches/patch-aa.

Some background:

At the time that pkgsrc was ported to Solaris, which was the first
non-NetBSD port, the choices were either to fork all the PLISTs for
Solaris as well as NetBSD (not really an option due to PLIST
maintenance), or that we used the same naming scheme for shared
objects.  That's why we've used "sunos" up until now.

In hindsight, we should probably have used a "pkgsrc" versioning
scheme, or an alias of "pkgsrc" for "sunos".

With the advent of package views, dynamic PLISTs will be a
possibility, and we could probably just get rid of the hack to force
libtool version numbers to have a uniform format.

Regards,
Alistair
--
Alistair Crooks <agc@pkgsrc.org>