sexta-feira, setembro 22, 2017
Home » Linux » Erro de Dependencia libq.so.4()(64bit) ao instalar pure-ftpd no CentOS 6

Erro de Dependencia libq.so.4()(64bit) ao instalar pure-ftpd no CentOS 6

Saudações.
Compartilho abaixo o erro e solução na tentativa de instalar o pure-ftpd no CentOS 6

Erro:

[[email protected] Downloads]# yum install pure-ftpd
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* Webmin: download.webmin.com
* base: centos.mirror.nac.net
* epel: www.gtlib.gatech.edu
* extras: mirrors.advancedhosters.com
* rpmforge: mirror.us.leaseweb.net
* updates: centos.mirror.constant.com
Resolving Dependencies
–> Running transaction check
—> Package pure-ftpd.x86_64 0:1.0.36-1.el5.rf will be installed
–> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libldap-2.3.so.0()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: liblber-2.3.so.0()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libmysqlclient.so.15()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libpq.so.4()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Running transaction check
—> Package compat-openldap.x86_64 1:2.3.43-2.el6 will be installed
—> Package pure-ftpd.x86_64 0:1.0.36-1.el5.rf will be installed
–> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libmysqlclient.so.15()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libpq.so.4()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Finished Dependency Resolution
Error: Package: pure-ftpd-1.0.36-1.el5.rf.x86_64 (rpmforge)
Requires: libpq.so.4()(64bit)
Error: Package: pure-ftpd-1.0.36-1.el5.rf.x86_64 (rpmforge)
Requires: libmysqlclient.so.15(libmysqlclient_15)(64bit)
Error: Package: pure-ftpd-1.0.36-1.el5.rf.x86_64 (rpmforge)
Requires: libmysqlclient.so.15()(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
[[email protected] Downloads]# yum install pure-ftpd
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* Webmin: download.webmin.com
* base: centos.mirror.nac.net
* epel: www.gtlib.gatech.edu
* extras: mirrors.advancedhosters.com
* rpmforge: mirror.us.leaseweb.net
* updates: centos.mirror.constant.com
Resolving Dependencies
–> Running transaction check
—> Package pure-ftpd.x86_64 0:1.0.36-1.el5.rf will be installed
–> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libldap-2.3.so.0()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: liblber-2.3.so.0()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libmysqlclient.so.15()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libpq.so.4()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Running transaction check
—> Package compat-openldap.x86_64 1:2.3.43-2.el6 will be installed
—> Package pure-ftpd.x86_64 0:1.0.36-1.el5.rf will be installed
–> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libmysqlclient.so.15()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Processing Dependency: libpq.so.4()(64bit) for package: pure-ftpd-1.0.36-1.el5.rf.x86_64
–> Finished Dependency Resolution
Error: Package: pure-ftpd-1.0.36-1.el5.rf.x86_64 (rpmforge)
Requires: libpq.so.4()(64bit)
Error: Package: pure-ftpd-1.0.36-1.el5.rf.x86_64 (rpmforge)
Requires: libmysqlclient.so.15(libmysqlclient_15)(64bit)
Error: Package: pure-ftpd-1.0.36-1.el5.rf.x86_64 (rpmforge)
Requires: libmysqlclient.so.15()(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
[[email protected] Downloads]# ^C
[[email protected] Downloads]#
[[email protected] Downloads]#
[[email protected] Downloads]# rpm -q –whatrequires libpq.so.4
no package requires libpq.so.4
[[email protected] Downloads]# wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/pure-ftpd-1.0.21-1.el6.rf.x86_64.rpm
–2015-02-17 06:29:26– http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/pure-ftpd-1.0.21-1.el6.rf.x86_64.rpm
Resolving apt.sw.be… 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 238120 (233K) [application/x-redhat-package-manager] Saving to: `pure-ftpd-1.0.21-1.el6.rf.x86_64.rpm’

Encontrei a solução no link abaixo:

http://www.linuxquestions.org/questions/linux-server-73/errors-when-installing-pure-ftpd-on-centos-942416/

 

Baixei uma nova versão do pacote em: http://pkgs.org/centos-6-rhel-6/repoforge-x86_64/pure-ftpd-1.0.21-1.el6.rf.x86_64.rpm/download/

Depois rodei um rpm -ivh no pacote, baixado, abaixo o comando da verão atual enquanto escrevo este post. Caso você baixe outra versão, atualize o comando abaixo:

rpm -ivh pure-ftpd-1.0.21-1.el6.rf.x86_64.rpm

Pronto, pureftp instalado.

 

 

Sobre Diego Duarte

Diego Duarte Atua como coordenador de NOC, toca um violãozinho nas horas vagas e tenta eternamente entender o que o fez escolher TI

Veja também!

Usando o Wunderlist no Linux com WunderlistUX

Um dos programas que uso diariamente e não queria abrir mão é o Wunderlist. Estou habituado com simplicidade e já o tenho sincronizado em todos os devices que uso. Como a versão para Windows 7 não está mais disponível no site oficial para Download (iria emular via Wine), me restaram duas opções: Usar a versão WEB ou procurar um software openSource que use a API deste prático gerenciado de tarefas.

Este artigo lhe foi útil? comente e ajude outros acrescentando seu ponto de vista!