[maemo-developers] [maemo-developers] network access problem ...

From: Mikhail Sobolev mss at mawhrin.net
Date: Wed Aug 24 09:04:11 EEST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20050824/34ce0a90/attachment.pgp 
More information about the maemo-developers mailing list