Where is libjpeg.so.7 in centos 7 ?
by Shaggy1 from LinuxQuestions.org on (#5DPE0)
System info:
Code:$ cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)Code:$ uname -a
Linux lb-cbga-eq 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux---------------------
Hi
I have a centos 7 installation on which I tried to import wx in python and it came up with an error:
ImportError: libjpeg.so.7: cannot open shared object file: No such file or directory
And indeed it seems not to be there in the .so:
$ ldd python/3.7.1/lib/python3.7/site-packages/wx/_core.cpython-37m-x86_64-linux-gnu.so | grep libjpeg.so.7
libjpeg.so.7 => not found
From the other package names it looks like libjpeg.so.7 /lib64, but it is not. I cannot seem to find it anywhere. rpm does not know about it:
Code:$ rpm -q --whatprovides /lib64/libjpeg.so.7
file /lib64/libjpeg.so.7 is not owned by any packageA grep for libjpeg in the repo xml file for centos 7.6.1810 results in the packages libjpeg-turbo and libjpeg-turbo-devel, both of which are installed, but neither of them seem to provide libjpeg.so.7:
Code:$ rpm -ql libjpeg-turbo-devel.x86_64
/usr/include/jconfig.h
/usr/include/jerror.h
/usr/include/jmorecfg.h
/usr/include/jpeglib.h
/usr/lib64/libjpeg.so
/usr/lib64/pkgconfig/libjpeg.pc
/usr/share/doc/libjpeg-turbo-devel-1.2.90
/usr/share/doc/libjpeg-turbo-devel-1.2.90/coderules.txt
/usr/share/doc/libjpeg-turbo-devel-1.2.90/example.c
/usr/share/doc/libjpeg-turbo-devel-1.2.90/jconfig.txt
/usr/share/doc/libjpeg-turbo-devel-1.2.90/libjpeg.txt
/usr/share/doc/libjpeg-turbo-devel-1.2.90/structure.txtCode:$ rpm -ql libjpeg-turbo.x86_64
/usr/lib64/libjpeg.so.62
/usr/lib64/libjpeg.so.62.1.0
/usr/share/doc/libjpeg-turbo-1.2.90
/usr/share/doc/libjpeg-turbo-1.2.90/ChangeLog.txt
/usr/share/doc/libjpeg-turbo-1.2.90/README
/usr/share/doc/libjpeg-turbo-1.2.90/README-turbo.txt
/usr/share/doc/libjpeg-turbo-1.2.90/change.logMy more global searches for the library have so far also drawn a blank.
Does anyone know where I can get hold of libjpeg.so.7 for centos 7 from ? Or what package is it included in ?


Code:$ cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)Code:$ uname -a
Linux lb-cbga-eq 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux---------------------
Hi
I have a centos 7 installation on which I tried to import wx in python and it came up with an error:
ImportError: libjpeg.so.7: cannot open shared object file: No such file or directory
And indeed it seems not to be there in the .so:
$ ldd python/3.7.1/lib/python3.7/site-packages/wx/_core.cpython-37m-x86_64-linux-gnu.so | grep libjpeg.so.7
libjpeg.so.7 => not found
From the other package names it looks like libjpeg.so.7 /lib64, but it is not. I cannot seem to find it anywhere. rpm does not know about it:
Code:$ rpm -q --whatprovides /lib64/libjpeg.so.7
file /lib64/libjpeg.so.7 is not owned by any packageA grep for libjpeg in the repo xml file for centos 7.6.1810 results in the packages libjpeg-turbo and libjpeg-turbo-devel, both of which are installed, but neither of them seem to provide libjpeg.so.7:
Code:$ rpm -ql libjpeg-turbo-devel.x86_64
/usr/include/jconfig.h
/usr/include/jerror.h
/usr/include/jmorecfg.h
/usr/include/jpeglib.h
/usr/lib64/libjpeg.so
/usr/lib64/pkgconfig/libjpeg.pc
/usr/share/doc/libjpeg-turbo-devel-1.2.90
/usr/share/doc/libjpeg-turbo-devel-1.2.90/coderules.txt
/usr/share/doc/libjpeg-turbo-devel-1.2.90/example.c
/usr/share/doc/libjpeg-turbo-devel-1.2.90/jconfig.txt
/usr/share/doc/libjpeg-turbo-devel-1.2.90/libjpeg.txt
/usr/share/doc/libjpeg-turbo-devel-1.2.90/structure.txtCode:$ rpm -ql libjpeg-turbo.x86_64
/usr/lib64/libjpeg.so.62
/usr/lib64/libjpeg.so.62.1.0
/usr/share/doc/libjpeg-turbo-1.2.90
/usr/share/doc/libjpeg-turbo-1.2.90/ChangeLog.txt
/usr/share/doc/libjpeg-turbo-1.2.90/README
/usr/share/doc/libjpeg-turbo-1.2.90/README-turbo.txt
/usr/share/doc/libjpeg-turbo-1.2.90/change.logMy more global searches for the library have so far also drawn a blank.
Does anyone know where I can get hold of libjpeg.so.7 for centos 7 from ? Or what package is it included in ?