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

export LD_LIBRARY_PAH=.

Alan

On Sun, Apr 8, 2012 at 3:00 PM, Tomas Hajny <xhaj...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to