如何在ubuntu x64上构建wolfssl共享库?

时间:2017-01-19 03:07:51

标签: ubuntu compilation 64-bit wolfssl

ubuntu x64 上,我尝试编译wolfssl

步骤进行:

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

  2. make

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

    为什么?

1 个答案:

答案 0 :(得分: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.