检查libtool是否支持共享库...没有

时间:2015-04-29 03:02:14

标签: curl libtool

我正在尝试为ARM和Linux平台交叉编译CURL。它没有为共享库创建Make文件当我执行./configure时,它只为静态库提供make文件。在日志中可以看到两个主要错误

**检查/usr/bin/arm-linux-gnueabi-gcc-4.6链接器(arm-none-linux-gnueabi-ld)是否支持共享库... 检查libtool是否支持共享库...没有

@@@@@@@@@@@@@@@@@@@@@@@@@

    ./configure --host=arm-none-linux-gnueabi --build=i686-linux CFLAGS='-Os' --with-ssl=/ROOT/openssl/libs --with-zlib --enable-smtp --enable-shared=yes
@@@@@@@@@@@@@@@@@@@

curl version:     7.42.0
  Host setup:       arm-none-linux-gnueabi
  Install prefix:   /usr/local
  Compiler:         /usr/bin/arm-linux-gnueabi-gcc-4.6
  SSL support:      enabled (OpenSSL)
  SSH support:      no      (--with-libssh2)
  zlib support:     enabled
  GSS-API support:  no      (--with-gssapi)
  TLS-SRP support:  no      (--enable-tls-srp)
  resolver:         default (--enable-ares / --enable-threaded-resolver)
  IPv6 support:     no      (--enable-ipv6)
  Unix sockets support: enabled
  IDN support:      no      (--with-{libidn,winidn})
  Build libcurl:    Shared=no, 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:   no
  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 FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP

##############################

我是Linux和Linux的新手。试图找出根本原因,任何人都可以帮助我,我在这里失踪了。

1 个答案:

答案 0 :(得分:3)

问题是由于错误的链接器路径。

将LD导出为/ usr / bin / arm-linux-gnueabi-ld。

相关问题