1

ubuntu x64上,我尝试编译wolfssl

脚步:

  1. ./configure --enable-static --enable-shared --enable-openssh --enable-opensslextra

  2. make

但是没有生成共享库。它仅适用于 32 位系统。

为什么?

4

1 回答 1

1

@myd620 我刚刚在 Mac OS X 和 Ubuntu 14.04 LTS(都是 64 位架构)上测试了这个。


Ubuntu 14.04 LTS

(wolfssl-root)/src/.libs/ 包含以下两者:

Jan 19 11:55 libwolfssl.a        <- static
Jan 19 11:55 libwolfssl.so.3.6.0 <- shared


Mac OS X

Jan 19 11:52 libwolfssl.3.dylib <- shared
Jan 19 11:52 libwolfssl.a       <- static

此命令在您的系统上的输出是什么?

./config.status —version

我的是:

Ubuntu 14.04 LTS

wolfssl config.status 3.10.0
configured by ./configure, generated by GNU Autoconf 2.69,
with options "'--enable-static' '--enable-shared' '--enable-openssh' '--enable-opensslextra'"

Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.

Mac OS X

wolfssl config.status 3.10.0
configured by ./configure, generated by GNU Autoconf 2.69,
with options "'--enable-static' '--enable-shared' '--enable-openssh' '--enable-opensslextra' 'CC=gcc'"

Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
于 2017-01-19T18:21:12.170 回答