Hello.
If a TProcess runs a executable who needs a library, that does the trick =>
TProcess.Environment.Text := 'LD_PRELOAD='/the/directory/of/thelibrary.so'
;You may also use this => (it seems bad ;-( =>
http://xahlee.info/UnixResource_dir/_/ldpath.html ) => TProcess.Environment.Text := 'LD_LIBRARY_PATH=/the/path/of/library'
But what if multiple libraries are needed ?
I have try with =>
TProcess.Environment.Text :=
'LD_PRELOAD=/the/directory/of/thelibrary1.so;/the/directory/of/thelibrary2.so' ;
But without luck.
Same for LD_LIBRARY_PATH, how to define multiple path ? => TProcess.Environment.Text :=
'LD_LIBRARY_PATH=/the/directory1/;/the/directory2/' Without luck too. ;-(
Many thanks.
Fre;D
-----
Many thanks ;-)
