curl-users
Re: SSL problems
Date: Wed, 6 Oct 2010 16:29:03 +0200
On Wed, Oct 06, 2010 at 04:05:50PM +0200, Daniel Stenberg wrote:
> On Wed, 6 Oct 2010, Fredrik Gustafsson wrote:
>
> >$ src/curl https://cas.lu.se/cas/login
> >[snip] SUCCESS!
> >
> >$ src/.libs/curl
> >curl: (35) error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3
> >alert unexpected message
>
> My guess is that these two invokes somehow get two different OpenSSL
> libs used, and in the second case it is a lib that's somehow
> incompatible.
What's the different between lt-curl and curl?
I did a test based on yout theory:
$ cd curl-7.21.1/src/.libs
$ ./curl https://cas.lu.se/cas/login
curl: (35) error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3
alert unexpected message
$ ./lt-curl https://cas.lu.se/cas/login
[snap] SUCCESS
$ ldd lt-curl
linux-gate.so.1 => (0xb77d4000)
libcurl.so.4 => /home/iveqy/slask/curl/curl-7.21.1/lib/.libs/libcurl.so.4 (0xb7783000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7761000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7605000)
librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb75fc000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb75b5000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7462000)
/lib/ld-linux.so.2 (0xb77d5000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7449000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7444000)
$ldd curl
linux-gate.so.1 => (0xb7786000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0xb7733000)
libz.so.1 => /usr/lib/libz.so.1 (0xb771e000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb75c2000)
librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb75b9000)
libidn.so.11 => /usr/lib/libidn.so.11 (0xb7588000)
libssh2.so.1 => /usr/lib/libssh2.so.1 (0xb7567000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb755a000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb7517000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb74ec000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb74a5000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7352000)
/lib/ld-linux.so.2 (0xb7787000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7339000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb72d1000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb72cd000)
libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb72b3000)
libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb729f000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7288000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb71eb000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7157000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7132000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb712f000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7127000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7123000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb7120000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb710f000)
The library that should be of interest here i libssl as far as I know
and that has the same version.
Regards
iveqy
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-06