That's a linking error, not a compilation error. Make sure you compile against 1.0.1* headers *and* link with 1.0.1* libraries. I don't know what kind of build scheme curl uses, but it might easily require you have both headers and libraries in the same place, or in a fixed place. And make sure the openssl libraries used were NOT built with no-srp. (As far as I can see it's never the default and there's no reason to specify it, but it is possible.) Are you sure this is occuring for a static library? I would expect a *program* (including a test or utility program that might be built automatically with the library) to try to resolve, and maybe a dynamic library, but not a static library. OTOH that format looks like AIX to me, and I have known AIX to do surprising and weird things sometimes.
_____ From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Peresvet Bezdenezhnih Sent: Thursday, 30 May, 2013 08:58 To: openssl-users@openssl.org Subject: compilation problems. Hi. In openssl-1.0.1e there is such function/variables used: SSL_CTX_set_srp_username and SSL_CTX_set_srp_password. Because of them I got such compilation errors: ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_srp_username ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_srp_password when I'm trying to compile curl library as static. With older openssl versions all is ok. What library do I need to get rid of this problem? Regards, Peresvet.