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

标签 ubuntu compilation 64-bit wolfssl

ubuntu x64 ,我尝试编译wolfssl
脚步:

  • ./configure --enable-static --enable-shared --enable-openssh --enable-opensslextra
  • make

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

    为什么?

    最佳答案

    @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.
    

    关于ubuntu - 如何在 ubuntu x64 上构建 wolfssl 共享库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41733037/

    相关文章:

    visual-studio - 我仍然可以使用64位计算机开发32位应用程序吗?

    java.net.ConnectException : Connection refused in Hadoop while using shell commands

    c# - 如何使调试与发布之间的编译不同?

    c - 在 bash 中运行 ./configure 并将 out/err 重定向到文件

    windows - 批处理文件,vista x64,if 和括号

    python - 安装 Python 以匹配 OS X 10.5 中的目录布局

    macos - 以非 root 用户身份从 Docker Ubuntu 容器内部调用 Mac 主机上的 Docker 时出现权限被拒绝错误

    python-3.x - 在浏览器中打开 Visual Studio Code

    c++ - vector<unique_ptr<T>> 在 ubuntu 中占用的内存是 vector<T> 的三倍以上

    Java - java.lang.Error : SWT Resource was not properly disposed