Subject: Re: libperl.so misnamed?
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: Simon Burge <simonb@netbsd.org>
List: tech-pkg
Date: 01/18/2000 19:30:30
"Johnny C. Lam" wrote:

> I think that the logic of perl's Configure script will yield different
> names for libperl.so under ELF and a.out.  It tries to name it like
> how libc is named.  Under ELF, the script finds "libc.so" so it
> chooses "libperl.so".  Under a.out, the script finds "libc.so.12.xx"
> so it chooses "libperl.so.5.3".
> 
> I discovered this trying to build the new perl package on
> NetBSD-1.4P/i386 built from sources dated 2000-01-12.
> 
> Should I try to fix this by forcing it to name the library
> "libperl.so.5.3" regardless of object format?

The object name for an ELF library doesn't include the minor number,
so "libperl.so.5" is more correct than "libperl.so.5.3", so I would
say forcing the use of the longer name is wrong.  Maybe folks on
tech-toolchain may be of more use...

Simon.