Finally I found it needs to set /etc/resolve.conf file content same as /scratchbox/etc/resolve.conf to make libcurl DNS lookup to work at every case in scratchbox

Aiken Tie wrote:
Hi list,

I am having getaddrinfo(3) failed for www.google.com:80
Couldn't resolve host 'www.google.com' error when I run my simple
libcurl application in maemo scratch box.

curl -v www.google.com works fine inside scratch box. So seems it is not
rerouted problem as this link:
http://curl.haxx.se/mail/archive-2008-09/0092.html
but error reporting is same

same application works fine outside of scratchbox.

and hosts value already is "files dns" as this link:
http://lists.scratchbox.org/pipermail/scratchbox-users/2007-March/000906.html

my libcurl version 7.19.2

anyone have some tips on that?

Akram Tomur


_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to