Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have curl installed and that works fine, however I've been reading about the blocking nature of the DNS lookups and discovered that it's slowing down my app.

I've done apt-get install libc-ares2 but I'm not sure how to tell curl to use that library when doing a lookup.

share|improve this question
add comment

1 Answer

It appears that the libcurl library must be built with c-ares support at compile time. From a cursory glance at the curl launchpad page This doesn't appear to be a dependancy of libcurl under Ubuntu, so it looks like you are left compiling and statically linking to your build of the libcurl library. This seems like a more appropriate question for StackOverflow.

share|improve this answer
    
Okay I'll ask it over there (unless there is an easy way to move it over?) –  user125234 Jan 22 '13 at 19:05
    
Not that I know of, and if there is, it probably requires more rep. –  sean_m Jan 22 '13 at 19:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.