You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get the vips extension working Herd on PHP 8.3.
At the moment, the closest I have got results in the following error when trying to create one of the vips objects...
local.INFO: Unable to open library 'libvips.42.dylib' in any of ['/opt/homebrew/lib/', '/usr/local/lib/']. Make sure that you've installed libvips and that 'libvips.42.dylib' is on your system's library search path.
Ironically, libvips.42.dylib is indeed in the /opt/homebrew/lib/ path, so there must be something about it does not like.
I followed the herd guide and additionally installed php with brew (brew install php) which installed 8.3 also. Then brew install vips to get libvips installed and pecl install vips to compile and set up vips.so for the extension. I then added extension=/path/to/vips.so to the herd php.ini and restarted everything.
php -v produces no problems on the command line php -i shows that vips is installed and it's configuration listed
Can anyone suggest possible reasons it is not loading. Could it be that I have an intel install of vips from brew install vips on my m2 mac? If so, how do I work around that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get the vips extension working Herd on PHP 8.3.
At the moment, the closest I have got results in the following error when trying to create one of the vips objects...
Ironically,
libvips.42.dylib
is indeed in the/opt/homebrew/lib/
path, so there must be something about it does not like.I followed the herd guide and additionally installed php with brew (
brew install php
) which installed 8.3 also. Thenbrew install vips
to get libvips installed andpecl install vips
to compile and set up vips.so for the extension. I then addedextension=/path/to/vips.so
to the herd php.ini and restarted everything.php -v
produces no problems on the command linephp -i
shows that vips is installed and it's configuration listedCan anyone suggest possible reasons it is not loading. Could it be that I have an intel install of vips from
brew install vips
on my m2 mac? If so, how do I work around that?Thanks in advance...
Beta Was this translation helpful? Give feedback.
All reactions