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

patspiper patspiper at gmail.com
Mon Apr 9 00:25:41 CEST 2012

On 09/04/12 01:00, Tomas Hajny wrote:
> 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).

I will add that environment variable overrides can be entered in 'Run 
Parameters' in Lazarus.


More information about the fpc-pascal mailing list