-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
easy.h should be in <curl-dir>/include/curl/ #861
Comments
I was getting the same issue after updating to Ubuntu 17.04. Looks like curl is located now in
|
workaround -> uninstall all libcurl libs like libcurl4-gnutls-dev |
Looks like the proper place to fix it is PHP itself: https://bugs.php.net/bug.php?id=74125. |
me too |
Fix
|
You can include the curl path with The following has solved the problem for me on OSX after installing
|
@timucingelici's workaround didn't work for me on Ubuntu 17.10:
...
|
First, I just want to say, I'm still kinda new here as where I'm sure most of you have been here much longer, but the more i use GitHub to fill in the gaps, the more I appreciate it. As it was pointed out here to us... Canonical - pulled a fast one on us when they moved the Curl Directory. Thank you Oxicode for post commented on Jun 21, 2017 - your symbolic link got me past the Curl Hurtle |
Solved: |
Didn't work for me |
^ the same |
I've solved by #925 (comment) |
On Ubuntu bionic 18.04 LTS, install php 5.6 I got the following error:
To fix it, I installed
Then I installed php 5.6 with the following command:
|
nice ,you help me solve the same problem. |
I think several of these "solutions" solve this for newer PHP versions, but not for older PHP versions being built on reasonably recent Debian/Ubuntu. For example, none of them seem to solve the problem to allow building php5.4 on Debian Stretch. |
I my case (MacOS Mojave), I had to use this to work with php 5.6.40: phpbrew install --jobs=$(sysctl -n hw.ncpu) 5.6 \
+default+mysql \
+iconv="$(brew --prefix libiconv)" \
+bz2="$(brew --prefix bzip2)" \
+zlib="$(brew --prefix zlib)" \
+curl="$(brew --prefix curl)" |
@codeasashu Exception: Variant "default+mysql" is not defined |
Added a section to the troubleshooting guide: https://github.com/phpbrew/phpbrew/wiki/Troubleshooting#on-ubuntu-2004-easyh-should-be-in-curl-dirincludecurl |
this work for me on ubuntu 18.04 LTS |
Output
Expected Result
php-7.1.3 installed
Command
phpbrew install php-7.1.3 +dbs +mb +default
Build Log
Platform
OS:
Ubuntu 17.04
Running PHP: 7.1.0
Installing PHP: 7.1.3
This happens with anyversion i try
i've tried installing sudo apt-get install libcurl4-gnutls-dev and all the other versions of libcurl4
The text was updated successfully, but these errors were encountered: