gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 18:45:52 33 4
gpt4 key购买 nike

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/

    33 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com