Centos 6에 freetds를 설치하는 방법

Centos 6에 freetds를 설치하는 방법

centos 시스템에 freetds를 설치하면 이 오류가 발생합니다. 문제가 무엇입니까? ?

freetds를 설치할 때 발생한 오류입니다. unixODBC를 설치했는데 버전이 64비트입니다.

이 문제를 어떻게 해결할 수 있나요?

[root@localhost portal]# yum install freetds
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirror.crazynetwork.it
 * epel: mirror01.th.ifl.net
 * extras: mirror.crazynetwork.it
 * rpmforge: be.mirror.eurid.eu
 * updates: mirror.crazynetwork.it
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package freetds.i386 0:0.91-2.el5 will be installed
--> Processing Dependency: libtermcap.so.2 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libreadline.so.5 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libodbcinst.so.1 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libodbc.so.1 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libgnutls.so.13 for package: freetds-0.91-2.el5.i386
--> Running transaction check
---> Package compat-libtermcap.i686 0:2.0.8-49.el6 will be installed
---> Package compat-readline5.i686 0:5.2-17.1.el6 will be installed
---> Package freetds.i386 0:0.91-2.el5 will be installed
--> Processing Dependency: libodbcinst.so.1 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libodbc.so.1 for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libgnutls.so.13(GNUTLS_1_3) for package: freetds-0.91-2.el5.i386
--> Processing Dependency: libgnutls.so.13 for package: freetds-0.91-2.el5.i386
--> Finished Dependency Resolution
Error: Package: freetds-0.91-2.el5.i386 (epel)
           Requires: libodbc.so.1
Error: Package: freetds-0.91-2.el5.i386 (epel)
           Requires: libgnutls.so.13
Error: Package: freetds-0.91-2.el5.i386 (epel)
           Requires: libodbcinst.so.1
Error: Package: freetds-0.91-2.el5.i386 (epel)
           Requires: libgnutls.so.13(GNUTLS_1_3)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

답변1

RHEL 6이 아닌 RHEL 5용 EPEL 저장소를 설치한 것으로 보입니다. EPEL로 돌아가서 epel-releaseRHEL 6 RPM을 설치하십시오.

관련 정보