[fpc-pascal] Testing shared libraries compiled with FPC/Lazarus under Linux

Tomas Hajny XHajT03 at hajny.biz
Mon Apr 9 00:00:32 CEST 2012

On 9 Apr 12, at 0:42, patspiper wrote:

> Is it possible to test a shared library compiled with Lazarus/FPC under 
> Linux without copying that library to /usr/lib or fiddling with the OS 
> configuration to locate them?
> Under Windows, it is enough to have the testing executable (host 
> application) in the same folder as the shared library. Is something of 
> the kind possible in Linux?

I believe that LD_LIBRARY_PATH environment variable should do that 
under Un*x platforms in general (i.e. including Linux).


More information about the fpc-pascal mailing list