On Wed, Aug 24, 2005 at 03:00:06AM -0300, Jorge Souza wrote: > <quoted> > To acquire a network connection on the target device > all we have to do is to set LD_PRELOAD environment > variable so that libosso-ic-preload.so is loaded > before starting the application. > > #!/bin/sh > export LD_PRELOAD=/usr/lib/libosso-ic-preload.so > /usr/bin/my_application > > </quoted> > > So, as a good obedient boy, I did exactually what was > purposed ... Unfortunatley, neither the application > nor the enviroment started up ! It crashes with the > following error msg: > > Starting DBUS system bus > Starting D-BUS session bus daemon > /usr/bin/scratchbox-launcher.sh: 48: source: not found > Starting Sapwood image server > _X11TransSocketOpenCOTSClient: Unable to open socket for tcp > _X11TransOpen: transport open failed for tcp/127.0.0.1:1 Probably, you set this variable too early. As I read the document excerpt you gave, it should be done before you start the application. As your log suggests, you did it before af-sb-init.sh start
-- Misha
signature.asc
Description: Digital signature
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers