[fpc-other] How to set library search path ?

Fred van Stappen fiens at hotmail.com
Sun Mar 12 20:15:39 CET 2017


Hello.


Is it possible to set the search-path for library without to edit-change the config file ?


For example, in Linux, you should edit .bash_profile and add:

LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH

But is it possible to set that library path without to edit a file, only by command (via a TProcess) ?


And if it is possible for Linux, how to do for Windows and FreeBSD and Mac OS (and other os are welcome).


Thanks.


Fre;D

<http://sites.google.com/site/fiensprototyping/home>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-other/attachments/20170312/c2b1e238/attachment.html>


More information about the fpc-other mailing list