________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Prasanna Mohanty
Sent: Wednesday, August 25, 2010 4:09 PM
To: [email protected]
Subject: RE: error using smtp with libcurl

 

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 

Features: IDN IPv6 Largefile NTLM SSL libz 

[pmoha...@localhost ~]$ ./a.out

Local file size: 17 bytes.

* Protocol smtp not supported or disabled in libcurl

* Unsupported protocol

[pmoha...@localhost ~]$ 

--

Regards

Prasanna Mohanty



can you do a where curl to ensure that your path is not causing you to
pick up a previously installed version of curl?

 

 

Jason.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to