On Wed, 26 Aug 2015, FreeMan wrote:

On 26.08.2015 21:22, Michael Van Canneyt wrote:
Here you must add

     AProcess.Environment.Add('LD_LIBRARY_PATH='+fb_RootPath);

It is not necessary to execute the shell.

I use this technique myself, so I am sure it works.

Michael.
Sorry Micheal, you miss understood me. first of all, thank you, I learned one more think.
My problem is, adding EnvironmentVariable to application.

I understand this. That is exactly what AProcess.Environment does.

Michael.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to