[fpc-pascal] Defining sonames?

Sven Barth pascaldragon at googlemail.com
Sun Aug 13 20:33:10 CEST 2017


Am 13.08.2017 17:42 schrieb "Fred van Stappen" <fiens at hotmail.com>:
>
> Hello Martin.
>
> Description of libx11-dev package (in /DEBIAN/control).
>
> Package: libx11-dev
> ...
> Description:
>
> This package contains the development headers for the library found in
libx11-6.
> Non-developers likely have little use for this package.
> ...
>
> Afaik, fpc does not use the C headers (I did not find it) nor fpc does
not develop/change anything inside the libX11 code.
> Maybe, but I have lot of doubt, fpc could need the C headers to compile
himself.
> But the compiled fpc should not need it.
>
> So, imho, in the case of fpc, they should not use libX11.so but
libX11.so.6 when linking things with the binary fpc.

The *-dev packages also contain the symbolic link from the library without
version to the versioned one. This *is* the way to do this as the names of
the library will change with every version.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170813/1e2dfe7a/attachment.html>


More information about the fpc-pascal mailing list