:음모 : 오류를로드 공유 라이브러리 동안 : 나는 신선한는 CentOS는 7 하스켈 플랫폼의 설치 완료과 같이 한 libHSzlib-0.5.4.1-ghc7.6.3.so
[[email protected] ~]$ sudo yum install haskell-platform
Loaded plugins: fastestmirror, product-id, subscription-manager
This system is not registered with Subscription Management. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
* base: ftp.sunet.se
* epel: ftp.lysator.liu.se
* extras: ftp.sunet.se
* updates: ftp.sunet.se
Resolving Dependencies
--> Running transaction check
---> Package haskell-platform.x86_64 0:2013.2.0.0-36.el7 will be installed
--> Processing Dependency: ghc-haskell-platform-devel = 2013.2.0.0-36.el7 for package: haskell-platform-2013.2.0.0-36.el7.x86_64
--> Processing Dependency: cabal-install = 1.16.0.2 for package: haskell-platform-2013.2.0.0-36.el7.x86_64
--> Running transaction check
---> Package cabal-install.x86_64 0:1.16.0.2-32.el7 will be installed
---> Package ghc-haskell-platform-devel.x86_64 0:2013.2.0.0-36.el7 will be installed
--> Processing Dependency: ghc = 7.6.3 for package: ghc-haskell-platform-devel-2013.2.0.0-36.el7.x86_64
--> Running transaction check
---> Package ghc.x86_64 0:7.6.3-18.3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================
Installing:
haskell-platform x86_64 2013.2.0.0-36.el7 epel 12 k
Installing for dependencies:
cabal-install x86_64 1.16.0.2-32.el7 epel 452 k
ghc x86_64 7.6.3-18.3.el7 epel 35 k
ghc-haskell-platform-devel x86_64 2013.2.0.0-36.el7 epel 15 k
Transaction Summary
=====================================================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 514 k
Installed size: 2.9 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): haskell-platform-2013.2.0.0-36.el7.x86_64.rpm | 12 kB 00:00:00
(2/4): ghc-haskell-platform-devel-2013.2.0.0-36.el7.x86_64.rpm | 15 kB 00:00:00
(3/4): ghc-7.6.3-18.3.el7.x86_64.rpm | 35 kB 00:00:00
(4/4): cabal-install-1.16.0.2-32.el7.x86_64.rpm | 452 kB 00:00:01
-------------------------------------------------------------------------------------------------------------------------------------
Total 461 kB/s | 514 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : ghc-7.6.3-18.3.el7.x86_64 1/4
Installing : ghc-haskell-platform-devel-2013.2.0.0-36.el7.x86_64 2/4
/var/tmp/rpm-tmp.5ERaqJ: line 1: /usr/bin/ghc-pkg: No such file or directory
Installing : cabal-install-1.16.0.2-32.el7.x86_64 3/4
Installing : haskell-platform-2013.2.0.0-36.el7.x86_64 4/4
Verifying : cabal-install-1.16.0.2-32.el7.x86_64 1/4
Verifying : ghc-haskell-platform-devel-2013.2.0.0-36.el7.x86_64 2/4
Verifying : ghc-7.6.3-18.3.el7.x86_64 3/4
Verifying : haskell-platform-2013.2.0.0-36.el7.x86_64 4/4
Installed:
haskell-platform.x86_64 0:2013.2.0.0-36.el7
Dependency Installed:
cabal-install.x86_64 0:1.16.0.2-32.el7 ghc.x86_64 0:7.6.3-18.3.el7 ghc-haskell-platform-devel.x86_64 0:2013.2.0.0-36.el7
Complete!
는하지만 얻을 다음과 같은 오류 :
[[email protected] ~]$ cabal update
cabal: error while loading shared libraries: libHSzlib-0.5.4.1-ghc7.6.3.so: cannot open shared object file: No such file or directory
나는 아무런 영향하려면 다음을 시도 :
sudo yum reinstall ghc-zlib-devel
sudo yum reinstall zlib-devel
sudo yum reinstall ghc-ghc-devel
,451,515,
편집 : 나는 또한 다음과 같은 시도 :
sudo yum reinstall ghc-zlib-devel-0.5.4.1
sudo yum reinstall ghc-zlib-devel-0.5.4.1-26.el7
sudo yum reinstall cabal-install
sudo yum reinstall ghc-Cabal
편집 : yum whatprovides libHSzlib*ghc*
믿을 수있는 경우 ghc-zlib-devel
이 libHSzlib-0.5.4.1-ghc7.6.3.so
를 설치합니다. 그러나 유일한 파일은 find/-name 'libHSzlib*.so' returns is
libHSzlib-0.5.4.1-ghc7.8.3.so`입니다 (대 참고).
'yum install ghc-zlib-devel-0.5.3.1'은 어떻습니까? centos가 깨진 패키지를 가지고 있고 haskell zlib 바인딩 빌드를 설치하지 못했습니다. 참고로, 나는 이것을 테스트하지는 않았지만, 그냥'yum whatprovides */libHSzlib *'를 실행했다. –
나는'yum install ghc-zlib-devel-0.5.4.1'을 시도했다. (나는 당신이 0.5 * 4 * .1을 의미한다고 가정한다) , 그러나 변화 없음. – mhwombat
질문에 대한 추가 편집 내용을 참조하십시오. – mhwombat