-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Error php: symbol lookup error #80
Comments
Please provide the imei.log of your last installation. |
Did you install php-imagick using apt? Because that won't work. Instead:
Finally, add
|
I install imagick by PECL |
I didn't test it using PECL, but the manual installation as described above works as expected. At least, after 3cdb9a7 |
I'm having the same error when I try to run the installation a second time. I'm compiling and installing via Ansible, when I deploy the VM for the first time and run the playbook it works, PHP is installed with Imagick and HEIC support. If I happen to run it twice, then I get the reported error. And I cannot figure out what's wrong...
|
NVM... I tried several times again and it always worked fine. 🤷🏼♂️ |
would this workd for lsphp too? Kind of a pain figuring out how to get this AVIF plugin to work. It requries imagick version 7, but 3.7.0 currently only compiles from Image Magick 6.9 From emailing the developer, he replied with this: Imagick is not part of LSWS. Regarding ImageMagick, this is the PHP related. Imagick is OS related, although there are differences. As long as you optimize and convert images with PHP, only ImageMagick is relevant to you, which also applies to the AWR plugin, since the AWR plugin uses ImageMagick. This means that you only need ImageMagick version 7 and above for the AWR plugin, but you do not need Imagick. The AWR plugin checks whether ImageMagick version 7 or higher is available. Otherwise you wouldn't be able to access the AWR plugin at all. That's why I think you're trying to solve a problem that I don't think exists when it comes to the AWR plugin. With PHP 8.1 or higher you already have everything you need for the AWR plugin. |
See https://github.com/SoftCreatR/imei?tab=readme-ov-file#php-imagick-extension |
I still get this in the phpini for wordpress in litespeed server: Imagick compiled with ImageMagick version | ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org If I try removing ImageMagic 6 before installing 7 as well, the server kind of breaks. |
What does that mean? |
Over on this website is a guide similiar to this githubs, which includes removing 6 first? I tried both doing that (breaks server) and not doing that and just this github's install method with your 'see' - which still lists ImageMagick 6.9 in phpinfo in the wordpress root |
I still don't know, what that means exactly. |
the Kitt AWR plugin would stop working in wordpress.
Kind regards,
William Skea
On 31/01/2024 1:40:43 PM, Sascha Greuel ***@***.***> wrote:
breaks server
I still don't know, what that means exactly.
—
Reply to this email directly, view it on GitHub [#80 (comment)], or unsubscribe [https://github.com/notifications/unsubscribe-auth/BDO3M5NX2D7N6HUA6DNJW23YRGVKXAVCNFSM6AAAAAAYRWK6ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYGI3DMMZZGM].
You are receiving this because you commented.Message ID: ***@***.***>
|
That was you, I guess? Maybe, you can define the ImageMagick path when compiling the imagick module. But tbh, I don't know. Maybe you can ask there: https://github.com/Imagick/imagick
I don't think so. |
yeah that's me too. I'm not sure how to do that properly.
I thought maybe this but it didn't do it.
git clone https://github.com/Imagick/imagick.git
/usr/local/lsws/lsphp81/bin/phpize
./configure --with-imagick=/usr/local/lsws/lsphp81
make
make install
touch /usr/local/lsws/admin/tmp/.lsphp_restart.txt
systemctl restart lsws
Kind regards,
William Skea
On 31/01/2024 1:50:12 PM, Sascha Greuel ***@***.***> wrote:
https://www.reddit.com/r/Litespeed/comments/1adk6yz/how_to_compile_and_install_latest_imagik_version/ [https://www.reddit.com/r/Litespeed/comments/1adk6yz/how_to_compile_and_install_latest_imagik_version/]
That was you, I guess? Maybe, you can define the ImageMagick path when compiling the imagick module. But tbh, I don't know. Maybe you can ask there: https://github.com/Imagick/imagick [https://github.com/Imagick/imagick]
—
Reply to this email directly, view it on GitHub [#80 (comment)], or unsubscribe [https://github.com/notifications/unsubscribe-auth/BDO3M5LJVPL2AM5OOG2VFZ3YRGWOJAVCNFSM6AAAAAAYRWK6ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYGI3TKMBYGA].
You are receiving this because you commented.Message ID: ***@***.***>
|
thats what I tried first |
That's how to compile Imagick manually. But as I said: If you don't remove IM 6 first, you have to find a way to tell imagick to use a different library location. But I don't know, if that works. So I'd recommend you to ask here. If that doesn't work, there's no other way than uninstalling IM 6 first. |
php -r 'phpinfo();' | grep HEIC
php: symbol lookup error: /usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/heic.so: undefined symbol: heif_init
The text was updated successfully, but these errors were encountered: