[Lazarus] Linking dynamic libraries

Michael Van Canneyt michael at freepascal.org
Sun Dec 30 16:55:26 CET 2012



On Sun, 30 Dec 2012, xrfang wrote:

> Hi All,
> While I compile my program which uses liblua52.so, Lazarus refuse to compile if it cannot find the so file.   But on windows, it compile happily without the DLL
> file.
> 
> As far as I understand dynamic link libraries are only required at runtime, why lazarus require it on compilation?

Because on unix you need them also at link time.

You must install the -dev package corresponding to the library.

Michael.


More information about the Lazarus mailing list