-
Notifications
You must be signed in to change notification settings - Fork 11
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
configure: error: you need at least libvips 8.2 for this module #30
Comments
Hello, you need to set I think there's a php-vips-ext formula in homebrew which does this for you (I think). |
Not sure what exactly to set to
brew info libffi shows following:
I run:
And actually it worked. Posted here solution for in case. |
For those working on Linux (Ubuntu) who are also seeing this error, you will need to also install For example: You may also need |
I've also created a gist for installing https://gist.github.com/apcro/99ced7c8a5b20fd77622e7394c2049ac |
Nice! I keep a selection of Dockerfiles here: https://github.com/jcupitt/docker-builds Eg. might be relevant: https://github.com/jcupitt/docker-builds/tree/master/ruby-vips-libvips-ubuntu18.04 |
Hi, I'm getting this error too on Debian 9. I have installed
This one looks weird: isn't
I've also tried to install the extension manually:
Let me know if you need me to provide more information. Thank you. |
That is very weird. You shouldn't need to set I see:
I'll try debian9 in docker. |
Yes, this works:
I guess there's something funny about your system. Do you have an older libvips somewhere? I would install the latest libvips from source, myself, but perhaps get the packaged one working first. |
Here's a dockerfile for libvips latest on debian9. https://github.com/jcupitt/docker-builds/blob/master/php-vips-debian9/Dockerfile |
Thanks for your input, @jcupitt. I will continue to investigate the issue on my side. |
Hi again, @jcupitt. I made some advances: in fact, I was able to install the extension using the system packages and compiling the extension. Using
Adding another directory to the
However,
As I mentioned earlier, I was able to make it work compiling the extension from source, so it looks like |
Deleted |
Anyone got this solved? I'm experiencing the same issue. I compiled libvips 8.10.2 from source and it is installed at /usr/local (make install), but when I try to do |
Ok, I found the solution. It seems that for pecl install vips to work, you need to have installed all the -dev packages that were used to compile libvips itself. |
I'm trying to get the extension installed on macOS for PHP 8.0.3 via
I use PHPBrew locally, so I first tried to install the extension using:
This didn't work, so I switched to system PHP and tried regular old PECL:
Both of these resulted in the same error message:
Is there anything more I can try to figure out what is causing the issue? Or any pointers? Cheers! |
Ok, so solved it by following the output of |
for example:
it's solved. thank you very much. |
Any ideas how to fix it in docker alpine + php 8.1? |
Did it with the following snippet: RUN apk add libffi-dev \
&& docker-php-ext-configure ffi --with-ffi \
&& docker-php-ext-install ffi \
\
&& apk add --repository http://dl-3.alpinelinux.org/alpine/edge/community \
vips vips-tools vips-dev \
&& pecl install vips-1.0.13 \
&& docker-php-ext-enable vips \ |
Hi, I'm trying to install this ext on MacOs
But have following error:
configure: error: you need at least libvips 8.2 for this module
vips -v
reports:vips-8.8.0-Sat May 11 11:55:18 UTC 2019
MacOs: 10.14.5 (18F132)
PHP 7.3.6
Homebrew 2.1.6
Probably I'm missing something?
The text was updated successfully, but these errors were encountered: