Incompatible library version #240
Unanswered
orallo
asked this question in
Q&A / Help
Replies: 1 comment 2 replies
-
curl Follow these steps:
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
brew update
brew reinstall curl Now |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've installed php (5.6 through 8.0) following the tutorial on https://getgrav.org/blog/macos-bigsur-apache-multiple-php-versions and when I try to start apache I get the following error:
httpd: Syntax error on line 189 of /usr/local/etc/httpd/httpd.conf: Cannot load /usr/local/opt/php@7.4/lib/httpd/modules/libphp7.so into server: dlopen(/usr/local/opt/php@7.4/lib/httpd/modules/libphp7.so, 10): Library not loaded: /usr/local/opt/curl/lib/libcurl.4.dylib\n Referenced from: /usr/local/opt/php@7.4/lib/httpd/modules/libphp7.so\n Reason: Incompatible library version: libphp7.so requires version 12.0.0 or later, but libcurl.4.dylib provides version 11.0.0
I'm running MacOS BigSur 11.2.3, curl 7.64.1, I have updated and upgraded all packages through brew and everything is up to data using the latest version of all packages. I've tried reinstalling curl, curl-openssl, and everything I could think of that was related to this error.
I've even tried uninstalling all php packages, curl, python, libxml2, apache and everything related and reinstalling them again to no avail.
Any and all help would be appreciated,
Thanks in advance!
-Orallo
Beta Was this translation helpful? Give feedback.
All reactions