i tried with openssl-dev, nss-dev and also with curl from
http://curl.haxx.se/download.html.
Everything works when i build minerd dynamic, but static dont wanna be so polite

I have the same problem with static linking. Even tried to compile curl from curl.haxx.se manually. But still no luck.