> Date: Wed, 25 Aug 2010 18:36:26 -0500 > Subject: Re: error using smtp with libcurl > From: [email protected] > To: [email protected] > > 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? > > > > -- > > [pmoha...@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 > > > [pmoha...@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
