Sample Header Ad - 728x90

What is the best way to upgrade a C library that comes with Fedora? Manually?

0 votes
1 answer
227 views
I am having an issue with JavaFX, which I posted on stackoverflow . Basically, the Java library calls a native function that needs the version 90 of the JPEG library. Here's the error message: java.io.IOException: Wrong JPEG library version: library is 62, caller expects 90 What I think that is odd, is that even an older version of the Java library I'm trying to use (JavaFX 11) requires a newer version of the JPEG library that is available on my system. I'm using Fedora 33, which is a very current operating system, and I always keep it updated. Appearently, that library is updated on Fedora 34, but why is my JPEG so outdated in a cutting-edge system, like Fedora 33? Also, what is the canonical way to upgrade this library? Should I compile and replace it manually? I'm not sure what library I should update. The command ldconfig -p | grep -P jpe?g returns:
libmjpegutils-2.1.so.0 (libc6,x86-64) => /lib64/libmjpegutils-2.1.so.0
	libjpeg.so.62 (libc6,x86-64) => /lib64/libjpeg.so.62
	libjpeg.so.62 (libc6) => /lib/libjpeg.so.62
	libjpeg.so (libc6,x86-64) => /lib64/libjpeg.so
	libgdcmjpeg16.so.3.0 (libc6,x86-64) => /lib64/libgdcmjpeg16.so.3.0
	libgdcmjpeg12.so.3.0 (libc6,x86-64) => /lib64/libgdcmjpeg12.so.3.0
	libgdcmjpeg8.so.3.0 (libc6,x86-64) => /lib64/libgdcmjpeg8.so.3.0
And the command rpm -qa | grep -P jpe?g returns:
libjpeg-turbo-2.0.5-5.fc33.i686
	libjpeg-turbo-2.0.5-5.fc33.x86_64
	libjpeg-turbo-devel-2.0.5-5.fc33.x86_64
	mjpegtools-libs-2.1.0-20.fc33.x86_64
	openjpeg2-2.3.1-10.fc33.x86_64
Should I update openjpeg or libjpeg-turbo?
Asked by Luís Gustavo Monezi (70 rep)
May 3, 2021, 02:44 AM
Last activity: May 3, 2021, 09:40 AM