Indeed. You can put the following in your .bashrc file:<div><br></div><div><font face="'courier new', monospace">export LD_LIBRARY_PAH=.</font></div><div><br></div><div>Alan</div><div><br><div class="gmail_quote">On Sun, Apr 8, 2012 at 3:00 PM, Tomas Hajny <span dir="ltr"><<a href="mailto:XHajT03@hajny.biz">XHajT03@hajny.biz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 9 Apr 12, at 0:42, patspiper wrote:<br>
<br>
> Is it possible to test a shared library compiled with Lazarus/FPC under<br>
> Linux without copying that library to /usr/lib or fiddling with the OS<br>
> configuration to locate them?<br>
><br>
> Under Windows, it is enough to have the testing executable (host<br>
> application) in the same folder as the shared library. Is something of<br>
> the kind possible in Linux?<br>
<br>
</div>I believe that LD_LIBRARY_PATH environment variable should do that<br>
under Un*x platforms in general (i.e. including Linux).<br>
<span class="HOEnZb"><font color="#888888"><br>
Tomas</font></span></blockquote></div></div>