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

Alan Krause alank at shermanloan.com
Mon Apr 9 16:28:55 CEST 2012

Indeed. You can put the following in your .bashrc file:



On Sun, Apr 8, 2012 at 3:00 PM, Tomas Hajny <XHajT03 at hajny.biz> 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).
> Tomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120409/ad7ad71f/attachment.html>

More information about the fpc-pascal mailing list