On 06/10/2015 01:20 PM, fredvs wrote: > To do run the program => > - first dynamic load portaudio with > loadlibrary('/the_path_you_want/libportaudio.so'). > - run the executable via TProcess (espeak).
I must admit this is a creative way of solving this particular issue :-) I wonder if you have tried to set the environment variable `LD_LIBRARY_PATH` to contain `the_path_you_want` before you spawn the other process? See also http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html : section 3.3. -- Ewald _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal