gpt4 book ai didi

macos - 在 Mac os 10.8 上编译 httpd 时,x86_64 出现 undefined symbol "_TLSv1_1_client_method"

转载 作者:行者123 更新时间:2023-12-02 10:12:34 25 4
gpt4 key购买 nike

详细错误消息如下。

$ ./configure
$ make

然后...

/usr/share/apr-1/build-1/libtool --silent --mode=link /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc     -lssl -lcrypto -lpthread  \
-o ab ab.lo -L/usr/lib -R/usr/lib -laprutil-1 -lexpat -liconv -lsqlite3 -lldap -llber -llber -L/usr/lib -R/usr/lib -lapr-1 -lpthread

Undefined symbols for architecture x86_64:

"_TLSv1_1_client_method", referenced from:
_main in ab.o
"_TLSv1_2_client_method", referenced from:
_main in ab.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

APR 和 apr-util 是必需的依赖项。

所以 - 在 Mac 上构建 httpd 之前,

端口安装APR

端口安装 apr-util

解决了这个问题。

关于macos - 在 Mac os 10.8 上编译 httpd 时,x86_64 出现 undefined symbol "_TLSv1_1_client_method",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20853357/

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