first of all - thanks to the developers of MAMP. It is really a great developer stack for web projects!
I hope somebody is able to help me!
I have the following problem. I'm using Mac OSX 10.15 with MAMP Pro 6.5 and i'm trying to install mongo database driver via pecl.
Unfortunately it needs to be mongo (not mongodb) regarding to an old PHP project that runs with php5.6 and it is not upgradeable.
So for installing i cd to my MAMP Application folder /Applications/MAMP/bin/php/php5.6.40/bin
In this folder i try to install mongo driver with following command: ./pecl install mongo
Everything starts fine but the compiling proceedure ends with following error:
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
ERROR: `make' failed
I know that in newer Mac OSX Versions Apple starts to not support 32bit architectures.
But is there a way to install mongo via pecl through MAMP or any other possibility?
Thank you very much for your help!