Olá,

você precisa instalar o pacote zlib-devel
http://www.rpmfind.net/linux/rpm2html/search.php?query=zlib-devel

provavelmente
yum install zlib-devel
ou
yum install zlib-devel.x86_64

[]'s
Luigi Castro Cardeles


2009/8/25 Nelson Gonzaga <[email protected]>

> Ola a todos,
> Quando fui instalar o PostgreSQL 8.4 em um servidor Linux Centos, durante o
> ./configure obtive a seguinte mensagem (extraida do config.log):
> ...
> configure:8095: result: no
> configure:8108: error: zlib library not found
> If you have zlib already installed, see config.log for details on the
> failure.  It is possible the compiler isn't looking in the proper
> directory.
> Use --without-zlib to disable zlib support.
> ...
> O zlib está instalado corretamente conforme:
>
> # yum install zlib
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: centos.pop.com.br
>  * updates: centos.corenetworks.net
>  * addons: centos.cogentcloud.com
>  * extras: centos.pop.com.br
> Setting up Install Process
> Parsing package install arguments
> Package zlib-1.2.3-3.i386 already installed and latest version
> Nothing to do
>
> Ai eu fiz o que foi pedido e executei o ./configure --without-zlib,
> instalei o restante e voltei o backup que tinha.
> O problema agora é quando executo o pg_dump com a opcao -Fc ocorre o
> seguinte erro:
>
> pg_dump: [archiver] WARNING: requested compression not available in this
> installation -- archive will be uncompressed
>
> e o backup fica com mais do que o dobro do tamanho e, o mais grave, quando
> fui testar o backup em outra maquina dá erro no final do pg_restore.
>
> Alguma ideia?
>
>
> ------------------------------
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 
> 10<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/>-
> Celebridades<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/>-
> Música<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/>-
> Esportes<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/>
>
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>
>
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a