ld: символ dyld_stub_binding_helper не найден, обычно в crt1.o / dylib1.o / bundle1.o для архитектуры i386 - PullRequest
1 голос
/ 07 апреля 2020

Я устанавливаю пн go драйвер для php из источника, но при запуске 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 с mongo@3.4. Любые предложения о том, как установить драйвер, пожалуйста.

Пн go Драйвер: http://pecl.php.net/get/mongo-1.6.16.tgz

ОС: Mac OS Catalina

...