curl-library
RE: error using smtp with libcurl
Date: Thu, 26 Aug 2010 18:54:14 +0000
> Date: Wed, 25 Aug 2010 18:36:26 -0500
> Subject: Re: error using smtp with libcurl
> From: yetanothergeek_at_gmail.com
> To: curl-library_at_cool.haxx.se
>
> On Wed, Aug 25, 2010 at 6:08 PM, Prasanna Mohanty wrote:
>
> > I did the following inside curl-7.21.1 directory
> > --
> > ./configure --enable-smtp
> > sudo make install
> > --
> > From the command "curl --version" seems like my curl installation already
> > supports smtp
> > but when I execute the compiled code I see the error. Did I miss any
> > installation step?
> >
> > --
> > [pmohanty_at_localhost ~]$ curl --version
> > curl 7.21.1 (i686-pc-linux-gnu) libcurl/7.21.1 OpenSSL/1.0.0 zlib/1.2.3
> > libidn/1.9
> > Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s
> > rtsp smtp smtps telnet tftp
>
> > [pmohanty_at_localhost ~]$ ./a.out
> > * Protocol smtp not supported or disabled in libcurl
> > * Unsupported protocol
>
>
>
> Please don't top-post on this list.
>
> Is it possible the installed curl and your ./a.out are using two
> different versions of the library?
>
> Maybe try something like:
>
> ldd ./a.out
> ldd $(which curl)
>
> And make sure you don't have an extra copy of the library
> installed somewhere.
>
>
> - Jeff
Thanks for the suggestion.
In fact this was the problem ./a.out was picking the library from /usr/lib where as
the new lib is installed in /usr/local/lib. It is fixed.
Thanks
Prasanna Mohanty
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-26