MaestroError / php-heic-to-jpg

The easiest way to convert HEIC images to JPEG with PHP and Laravel framework
MIT License
143 stars 20 forks source link

Compiled binaries are not compatible with Cent OS 7 #41

Closed Muazzamkhan95 closed 6 months ago

Muazzamkhan95 commented 6 months ago

Compiled binaries are not compatible with Cent OS 7 becauase its using GLIB glibc-2.17-326.el7_9.x86_64 and these binaries are compiled with GLIBCXX_3.4.21. can you please suggest how can i handle that as my server i am unable to upgrade OS due to it will not support cpanel. i have vps

"message": "Couldn't convert HEIC to JPG: '/vendor/maestroerror/php-heic-to-jpg/src/../bin/heicToJpg: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /vendor/maestroerror/php-heic-to-jpg/src/../bin/heicToJpg)' | Bin used: 'heicToJpg' HEIC: public/storage/PLTSWZNCzNuZmJ.heic' Full Command: '/vendor/maestroerror/php-heic-to-jpg/src/../bin/heicToJpg \"/public/storage/PLTSWZNCzNuZmJ.heic\" \"/public/storage/PLTSWZNCzNuZmJ.heic-17096726566600e542cc83d9.54541371\" 2>&1' Output from heif-converter-image exe: ", "exception": "RuntimeException",

MaestroError commented 6 months ago

Hello @Muazzamkhan95! Thanks for reaching out 👍 Unfortunately one of the package users tried to install this library on Cent OS but he couldn't. I guess, it is nearly impossible, so we don't support Cent OS 😞

If you can't switch it to Ubuntu, the only thing I can do is recommend other solutions:

Muazzamkhan95 commented 6 months ago

Thanks for the suggestions and its a really nice package. looking forward for the updates.

MaestroError commented 6 months ago

Thank you @Muazzamkhan95 ❤️