[fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

Sven Barth pascaldragon at googlemail.com
Wed Aug 15 22:53:21 CEST 2012

Am 15.08.2012 17:02 schrieb "Graeme Geldenhuys" <graemeg.lists at gmail.com>:
> I had a quick look to see what other (non FPC based) application do.
> FlameRobin has a dependency on libfbclient.so.2 (thus versioned .so
> library). That's why it works without having to install the -devel
> package.

Did you look at the source/makefile or the binary? If the latter then this
is exactly what FPC (or more precisely the linker) does when you statically
link to a shared library: the unversioned symlink is resolved and the
versioned one is stored in the recuires section of the binary.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freepascal.org/lists/fpc-pascal/attachments/20120815/b088=

More information about the fpc-pascal mailing list