On 06/20/2015 11:11 AM, fredvs wrote:
Re-re-re-Hello.

This one does not work too ;-( =>
- AProcess.Environment.Text :=
'LD_PRELOAD=/home/fred/sak/sak/sakit/liblinux64/libportaudio.so'  ;

how many "sak" are there really? you have two plus "sakit"... this is the first you've posted anything of your directory structure... perhaps you can modify your script to echo the data so you can compare it?

________________________________________________
#!/bin/sh
LIBPORTAUDIO=libportaudio.so  #portaudio library
ESPEAKBIN=espeak                 #espeak binary
CALLDIR=${0%/*}/                    # directory where is ESPEAKBIN
echo "export LD_PRELOAD=$CALLDIR$LIBPORTAUDIO"
export LD_PRELOAD=$CALLDIR$LIBPORTAUDIO
echo "$CALLDIR/$ESPEAKBIN"
$CALLDIR/$ESPEAKBIN
_______________________________________________

note the two echo lines i added... you should be able to see or retrieve them to see/know the live data so you can make your direct attempts work with the same...

--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list* unless
       private contact is specifically requested and granted.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to