On Sat, Nov 14, 2015 at 7:09 PM, Sylvain Colinet <
perl6-bugs-follo...@perl.org> wrote:

> Some distribution (debian) does not provide the libfoo.so symlink in the
> binary that provide a libfoo. In the case of debian it's provided by
> libfoo-dev.
>
> I was not able to find what was a standard behavior for the unversioned
> .so file
>

There isn't one, and really nobody should be linking to that because the
version may be any version a developer might want to work with, including
old ones to build something for backward compatibility. One should almost
always link to a specific API version.

Unfortunately, NativeCall doesn't really support this sensibly. For
example, on Windows if a DLL has an API version, it's usually appended to
the name part. (e.g. MSVCRT2.DLL)

I've been thinking about this a bit, and plan to write up a proposal when I
have something sensible to say.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to