[fpc-pascal] loadlibrary() unsafe ?

Giuliano Colla giuliano.colla at fastwebnet.it
Sat Jun 20 17:23:04 CEST 2015


Il 20/06/2015 17:11, fredvs ha scritto:
> Re-re-re-Hello.
>
> This one does not work too ;-( =>
> - AProcess.Environment.Text :=
> 'LD_PRELOAD=/home/fred/sak/sak/sakit/liblinux64/libportaudio.so'  ;
>
> ???
>
> Many thanks.
Have you tried:
AProcess.Environment.Text := 
LD_LIBRARY_PATH=/home/fred/sak/sak/sakit/liblinux64/
?
Once supplied the right folder, this should be sufficient to make the 
loader search the proper file.

Giuliano

-- 
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?




More information about the fpc-pascal mailing list