Red Hat 6에 R을 설치할 때 문제가 발생했습니다. libjpeg.so.62가 필요합니다.

Red Hat 6에 R을 설치할 때 문제가 발생했습니다. libjpeg.so.62가 필요합니다.

나는 명령줄을 사용하여 원격 컴퓨터에 R을 설치하려고 했습니다. 이 기계의 특징은

uname -a
Linux ###### 2.6.32-71.40.1.el6.x86_64 #1 SMP Tue Jul 3 14:39:16 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 6.0 (Santiago)
Release:        6.0
Codename:       Santiago

다 설치했는데 뭔가 잘못된 것 같습니다 libjpeg.so.62. R 설치를 실행하는 경우:

sudo yum install R

Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: libRmath-devel = 3.2.1-2.el6 for package: R-3.2.1-2.el6.x86_64
--> Processing Dependency: R-java = 3.2.1-2.el6 for package: R-3.2.1-2.el6.x86_64
--> Processing Dependency: R-devel = 3.2.1-2.el6 for package: R-3.2.1-2.el6.x86_64
--> Running transaction check
---> Package R-devel.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: R-java-devel = 3.2.1-2.el6 for package: R-devel-3.2.1-2.el6.x86_64
--> Processing Dependency: R-core-devel = 3.2.1-2.el6 for package: R-devel-3.2.1-2.el6.x86_64
---> Package R-java.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: R-core = 3.2.1-2.el6 for package: R-java-3.2.1-2.el6.x86_64
---> Package libRmath-devel.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: libRmath = 3.2.1-2.el6 for package: libRmath-devel-3.2.1-2.el6.x86_64
--> Running transaction check
---> Package R-core.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: tex(latex) for package: R-core-3.2.1-2.el6.x86_64
--> Processing Dependency: tex(dvips) for package: R-core-3.2.1-2.el6.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: R-core-3.2.1-2.el6.x86_64
--> Processing Dependency: cups for package: R-core-3.2.1-2.el6.x86_64
--> Processing Dependency: libtk8.5.so()(64bit) for package: R-core-3.2.1-2.el6.x86_64
--> Processing Dependency: libtcl8.5.so()(64bit) for package: R-core-3.2.1-2.el6.x86_64
--> Processing Dependency: libXt.so.6()(64bit) for package: R-core-3.2.1-2.el6.x86_64
--> Processing Dependency: libXmu.so.6()(64bit) for package: R-core-3.2.1-2.el6.x86_64
---> Package R-core-devel.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: zlib-devel for package: R-core-devel-3.2.1-2.el6.x86_64
--> Processing Dependency: xz-devel for package: R-core-devel-3.2.1-2.el6.x86_64
--> Processing Dependency: tk-devel for package: R-core-devel-3.2.1-2.el6.x86_64
--> Processing Dependency: tcl-devel for package: R-core-devel-3.2.1-2.el6.x86_64
--> Processing Dependency: pcre-devel for package: R-core-devel-3.2.1-2.el6.x86_64
--> Processing Dependency: libX11-devel for package: R-core-devel-3.2.1-2.el6.x86_64
--> Processing Dependency: gcc-c++ for package: R-core-devel-3.2.1-2.el6.x86_64
--> Processing Dependency: bzip2-devel for package: R-core-devel-3.2.1-2.el6.x86_64
---> Package R-java-devel.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: java-devel for package: R-java-devel-3.2.1-2.el6.x86_64
---> Package libRmath.x86_64 0:3.2.1-2.el6 set to be updated
--> Running transaction check
---> Package R-core.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: R-core-3.2.1-2.el6.x86_64
---> Package bzip2-devel.x86_64 0:1.0.5-7.el6_0 set to be updated
---> Package cups.x86_64 1:1.4.2-35.el6_0.1 set to be updated
--> Processing Dependency: portreserve for package: 1:cups-1.4.2-35.el6_0.1.x86_64
--> Processing Dependency: poppler-utils for package: 1:cups-1.4.2-35.el6_0.1.x86_64
---> Package gcc-c++.x86_64 0:4.4.4-13.el6 set to be updated
--> Processing Dependency: libstdc++-devel = 4.4.4-13.el6 for package: gcc-c++-4.4.4-13.el6.x86_64
---> Package java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.39.b17.el6_0 set to be updated
---> Package libX11-devel.x86_64 0:1.3-2.el6 set to be updated
--> Processing Dependency: pkgconfig(xcb) >= 1.1.92 for package: libX11-devel-1.3-2.el6.x86_64
--> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.3-2.el6.x86_64
--> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.3-2.el6.x86_64
--> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.3-2.el6.x86_64
--> Processing Dependency: libXdmcp-devel for package: libX11-devel-1.3-2.el6.x86_64
--> Processing Dependency: libXau-devel for package: libX11-devel-1.3-2.el6.x86_64
---> Package libXmu.x86_64 0:1.0.5-1.el6 set to be updated
---> Package libXt.x86_64 0:1.0.7-1.el6 set to be updated
---> Package pcre-devel.x86_64 0:7.8-3.1.el6 set to be updated
---> Package tcl.x86_64 1:8.5.7-6.el6 set to be updated
---> Package tcl-devel.x86_64 1:8.5.7-6.el6 set to be updated
---> Package texlive-dvips.x86_64 0:2007-56.el6 set to be updated
--> Processing Dependency: psutils for package: texlive-dvips-2007-56.el6.x86_64
---> Package texlive-latex.x86_64 0:2007-56.el6 set to be updated
--> Processing Dependency: texlive-utils = 2007-56.el6 for package: texlive-latex-2007-56.el6.x86_64
--> Processing Dependency: texlive-texmf-latex = 2007 for package: texlive-latex-2007-56.el6.x86_64
--> Processing Dependency: netpbm-progs for package: texlive-latex-2007-56.el6.x86_64
---> Package tk.x86_64 1:8.5.7-5.el6 set to be updated
---> Package tk-devel.x86_64 1:8.5.7-5.el6 set to be updated
--> Processing Dependency: libXft-devel for package: 1:tk-devel-8.5.7-5.el6.x86_64
---> Package xz-devel.x86_64 0:4.999.9-0.3.beta.20091007git.el6 set to be updated
---> Package zlib-devel.x86_64 0:1.2.3-25.el6 set to be updated
--> Running transaction check
---> Package R-core.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: R-core-3.2.1-2.el6.x86_64
---> Package libXau-devel.x86_64 0:1.0.5-1.el6 set to be updated
---> Package libXdmcp-devel.x86_64 0:1.0.3-1.el6 set to be updated
--> Processing Dependency: libXdmcp = 1.0.3-1.el6 for package: libXdmcp-devel-1.0.3-1.el6.x86_64
--> Processing Dependency: libXdmcp.so.6()(64bit) for package: libXdmcp-devel-1.0.3-1.el6.x86_64
---> Package libXft-devel.x86_64 0:2.1.13-4.1.el6 set to be updated
--> Processing Dependency: freetype-devel >= 2.1.9-2 for package: libXft-devel-2.1.13-4.1.el6.x86_64
--> Processing Dependency: fontconfig-devel >= 2.2-1 for package: libXft-devel-2.1.13-4.1.el6.x86_64
--> Processing Dependency: pkgconfig(xrender) for package: libXft-devel-2.1.13-4.1.el6.x86_64
--> Processing Dependency: pkgconfig(freetype2) for package: libXft-devel-2.1.13-4.1.el6.x86_64
--> Processing Dependency: pkgconfig(fontconfig) for package: libXft-devel-2.1.13-4.1.el6.x86_64
--> Processing Dependency: libXrender-devel for package: libXft-devel-2.1.13-4.1.el6.x86_64
---> Package libstdc++-devel.x86_64 0:4.4.4-13.el6 set to be updated
---> Package libxcb-devel.x86_64 0:1.5-1.el6 set to be updated
---> Package netpbm-progs.x86_64 0:10.47.05-11.el6 set to be updated
--> Processing Dependency: netpbm = 10.47.05-11.el6 for package: netpbm-progs-10.47.05-11.el6.x86_64
--> Processing Dependency: ghostscript for package: netpbm-progs-10.47.05-11.el6.x86_64
--> Processing Dependency: libnetpbm.so.10()(64bit) for package: netpbm-progs-10.47.05-11.el6.x86_64
---> Package poppler-utils.x86_64 0:0.12.4-3.el6_0.1 set to be updated
---> Package portreserve.x86_64 0:0.0.4-4.el6 set to be updated
---> Package psutils.x86_64 0:1.17-34.el6 set to be updated
---> Package texlive-texmf-latex.noarch 0:2007-35.el6 set to be updated
--> Processing Dependency: texlive-texmf-errata-latex = 2007 for package: texlive-texmf-latex-2007-35.el6.noarch
--> Processing Dependency: tex-preview for package: texlive-texmf-latex-2007-35.el6.noarch
---> Package texlive-utils.x86_64 0:2007-56.el6 set to be updated
---> Package xorg-x11-proto-devel.noarch 0:7.4-35.el6 set to be updated
--> Running transaction check
---> Package R-core.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: R-core-3.2.1-2.el6.x86_64
---> Package fontconfig-devel.x86_64 0:2.8.0-3.el6 set to be updated
---> Package freetype-devel.x86_64 0:2.3.11-6.el6_0.2 set to be updated
---> Package ghostscript.x86_64 0:8.70-6.el6 set to be updated
--> Processing Dependency: urw-fonts >= 1.1 for package: ghostscript-8.70-6.el6.x86_64
--> Processing Dependency: ghostscript-fonts for package: ghostscript-8.70-6.el6.x86_64
---> Package libXdmcp.x86_64 0:1.0.3-1.el6 set to be updated
---> Package libXrender-devel.x86_64 0:0.9.5-1.el6 set to be updated
---> Package netpbm.x86_64 0:10.47.05-11.el6 set to be updated
---> Package tex-preview.noarch 0:11.85-10.el6 set to be updated
---> Package texlive-texmf-errata-latex.noarch 0:2007-7.1.el6 set to be updated
--> Running transaction check
---> Package R-core.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: R-core-3.2.1-2.el6.x86_64
---> Package ghostscript-fonts.noarch 0:5.50-23.1.el6 set to be updated
--> Processing Dependency: xorg-x11-font-utils for package: ghostscript-fonts-5.50-23.1.el6.noarch
---> Package urw-fonts.noarch 0:2.4-10.el6 set to be updated
--> Running transaction check
---> Package R-core.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: R-core-3.2.1-2.el6.x86_64
---> Package xorg-x11-font-utils.x86_64 1:7.2-10.el6 set to be updated
--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.2-10.el6.x86_64
--> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.2-10.el6.x86_64
--> Running transaction check
---> Package R-core.x86_64 0:3.2.1-2.el6 set to be updated
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: R-core-3.2.1-2.el6.x86_64
---> Package libXfont.x86_64 0:1.4.1-1.el6 set to be updated
---> Package libfontenc.x86_64 0:1.0.5-2.el6 set to be updated
--> Finished Dependency Resolution
Error: Package: R-core-3.2.1-2.el6.x86_64 (epel)
           Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

그런데 폴더에 가보면 /usr/lib64/이라는 파일이 있으니 libjpeg.so.62그 파일이 설치되어 있다고 봐야겠죠 libjpeg.so.62? 내가 무엇을 놓치고 있나요?

답변1

CentOS(RHEL과 유사함),libjpeg.so.62(LIBJPEG_6.2)(64bit) libjpeg-turbo패키지로 제공되는 것 같아요.

귀하의 설치에서 사용 가능한 경우(아마도 해결이 안되면 안될 것 같습니다), 다음 명령을 사용하여 설치할 수 있습니다.

sudo yum install libjpeg-turbo

그렇지 않은 경우 CentOS 6 패키지를 다운로드하여 설치할 수 있습니다. 예를 들면 다음과 같습니다.

wget http://mirror.ox.ac.uk/sites/mirror.centos.org/6/os/x86_64/Packages/libjpeg-turbo-1.2.1-3.el6_5.x86_64.rpm
sudo yum install libjpeg-turbo-1.2.1-3.el6_5.x86_64.rpm

기타 패키지 이미지:

대안으로,당신은 또한 수CentOS를 패키지 소스로 추가, 그러나 하나의 패키지만 필요해서는 안됩니다.

관련 정보