ok, i was trying build curl + ssl
at first i download curl src, open ssl src, put all in desktop
curl
curl/opt/openssl

i install openssl
./config
sudo make
sudo make install

trying to configure curl
./configure
* curl version:     7.34.0*
*  Host setup:       i686-pc-linux-gnu*
*  Install prefix:   /usr/local*
*  Compiler:         gcc*
*  SSL support:      no
 (--with-{ssl,gnutls,nss,polarssl,cyassl,axtls,winssl,darwinssl} )*
*  SSH support:      no      (--with-libssh2)*
*  zlib support:     enabled*
*  GSSAPI support:   no      (--with-gssapi)*
*  SPNEGO support:   no      (--with-spnego)*
*  TLS-SRP support:  no      (--enable-tls-srp)*
*  resolver:         default (--enable-ares / --enable-threaded-resolver)*
*  ipv6 support:     enabled*
*  IDN support:      no      (--with-{libidn,winidn})*
*  Build libcurl:    Shared=yes, Static=yes*
*  Built-in manual:  enabled*
*  --libcurl option: enabled (--disable-libcurl-option)*
*  Verbose errors:   enabled (--disable-verbose)*
*  SSPI support:     no      (--enable-sspi)*
*  ca cert bundle:   /etc/ssl/certs/ca-certificates.crt*
*  ca cert path:     no*
*  LDAP support:     no      (--enable-ldap / --with-ldap-lib /
--with-lber-lib)*
*  LDAPS support:    no      (--enable-ldaps)*
*  RTSP support:     enabled*
*  RTMP support:     no      (--with-librtmp)*
*  metalink support: no      (--with-libmetalink)*
*  HTTP2 support:    disabled (--with-nghttp2)*
*  Protocols:        DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP TELNET
TFTP*

okay but i found ssl support = no

so i read from here : http://curl.haxx.se/docs/install.html
and trying with
./configure --with-ssl

*checking whether to enable Windows native SSL/TLS (Windows native builds
only)... no*
*checking whether to enable iOS/Mac OS X native SSL/TLS... no*
*checking for pkg-config... /usr/bin/pkg-config*
*checking for openssl options with pkg-config... found*
*configure: pkg-config: SSL_LIBS: "-lssl -lcrypto  "*
*configure: pkg-config: SSL_LDFLAGS: "-L/usr/local/ssl/lib  "*
*configure: pkg-config: SSL_CPPFLAGS: "-I/usr/local/ssl/include  "*
*checking for CRYPTO_lock in -lcrypto... yes*
*checking for SSL_connect in -lssl... no*
*checking for ssl with RSAglue/rsaref libs in use... checking for
SSL_connect in -lssl... (cached) no*
*no*
*configure: error: OpenSSL libs and/or directories were not found where
specified!*

i check directory that ssl installed
*bin  etc  games  include  lib  man  sbin  share  src  ssl*
*dung@ubuntu:/usr/local$ cd ssl*
*dung@ubuntu:/usr/local/ssl$ ls*
*bin  certs  include  lib  man  misc  openssl.cnf  private*
*dung@ubuntu:/usr/local/ssl$ cd lib*
*dung@ubuntu:/usr/local/ssl/lib$ ls*
*engines  libcrypto.a  libssl.a  pkgconfig*
*dung@ubuntu:/usr/local/ssl/lib$ ls*
*engines  libcrypto.a  libssl.a  pkgconfig*
*dung@ubuntu:/usr/local/ssl/lib$ *

i think openssl install correct but why there are error ?


2014/1/7 Václav Zeman <[email protected]>

> Please describe what fails for you in detail.
>
> On 06/01/2014, Dung Nguyen <[email protected]> wrote:
> > hi!
> > i need to port my application from Windows to Ubuntu/Arm Linux
> > i'm jz noob in linux, my application use Lazarus/Pascal header of curl
> >
> > i'm trying to build the curl from source in Ubuntu but seem it not work,
> > what is the correct way of usage libcurl in linux ?
> >
>
>
> --
> VZ
> -------------------------------------------------------------------
> 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

Reply via email to