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

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Aug 16 01:41:34 CEST 2012


On 15 August 2012 22:10, Marco van de Voort <marcov at stack.nl> wrote:
> Blend perfectly with the distro they are build for, but if changes occur
> chances on recovery are slim.

Be more specific, what changes?

Dynamic linking and Static linking both have there pros and cons. Most
seem to prefer dynamic linking, that is why it is the default in
ibconnection.pp. Only problem at the moment in FPC is, with dynamic
linking it is looking for an unversioned library instead of
libfbclient.so.2 (the latest major version of Firebird DB). Making
that simple change means apps that are dynamically linked can be just
as easily deployed as apps with static linking.

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net



More information about the fpc-pascal mailing list