Wrong JPEG library version
Posted: Sun Nov 06, 2022 12:56 am
Weirdness, serendipity is the only place I see this problem and get errors
There is only one version of libjpeg on the system, php and gd both refere to it.
php - libjpeg.so.62 => /usr/lib64/libjpeg.so.62
libgd.so.3.0.11 - libjpeg.so.62 => /usr/lib64/libjpeg.so.62
PHP Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library version: library is 62, caller expects 90 in /var/www/blog/include/functions_images.inc.php on line 1382
PHP Warning: imagecreatefromjpeg(): '/pth/to/file.jpg' is not a valid JPEG file <-(yes, it is)
PHP Warning: imagesx() expects parameter 1 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1387
PHP Warning: imagesy() expects parameter 1 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1388
PHP Warning: imagecopyresampled() expects parameter 2 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1410
PHP Warning: imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library version: library is 62, caller expects 90 in /var/www/blog/include/functions_images.inc.php on line 1413
Any Ideas on what this caller is and why it expects a version thats not, nor ever has been on this system?
Ta
There is only one version of libjpeg on the system, php and gd both refere to it.
php - libjpeg.so.62 => /usr/lib64/libjpeg.so.62
libgd.so.3.0.11 - libjpeg.so.62 => /usr/lib64/libjpeg.so.62
PHP Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library version: library is 62, caller expects 90 in /var/www/blog/include/functions_images.inc.php on line 1382
PHP Warning: imagecreatefromjpeg(): '/pth/to/file.jpg' is not a valid JPEG file <-(yes, it is)
PHP Warning: imagesx() expects parameter 1 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1387
PHP Warning: imagesy() expects parameter 1 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1388
PHP Warning: imagecopyresampled() expects parameter 2 to be resource, bool given in /var/www/blog/include/functions_images.inc.php on line 1410
PHP Warning: imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: Wrong JPEG library version: library is 62, caller expects 90 in /var/www/blog/include/functions_images.inc.php on line 1413
Any Ideas on what this caller is and why it expects a version thats not, nor ever has been on this system?

Ta