ld: 符号 dyld_stub_binding_helper 未找到,通常在 crt1.odylib1.obundle1.o 中,适用于 i386 架构。

问题描述 投票:1回答:1

我正在从源头安装mongo驱动,但当我运行时遇到了一个错误,即 make

这是我得到的。

ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS) ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/bundle1.o, building for macOS-i386 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /usr/local/ssl/lib/libssl.a, building for macOS-i386 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /usr/local/ssl/lib/libcrypto.a, building for macOS-i386 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd ld: symbol dyld_stub_binding_helper not found, normally in crt1.o/dylib1.o/bundle1.o for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [mongo.la] Error 1

我使用的是php 5.6 因为我正在处理的项目只支持 php5[email protected]. 有什么建议,请问如何安装驱动。

芒果驱动: http://pecl.php.net/get/mongo-1.6.16.tgz

OS: Mac OS Catalina

php mongodb macos makefile pecl
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.