Linux postgres-pg_还原错误无法从压缩存档还原(此安装不支持压缩)

Linux postgres-pg_还原错误无法从压缩存档还原(此安装不支持压缩),linux,postgresql,rhel,Linux,Postgresql,Rhel,在RHEL 7上运行的postgresql 9.6.3中恢复转储文件时,我遇到以下错误 Error - pg_restore: [archiver] WARNING: archive is compressed, but this installation does not support compression -- no data will be available pg_restore: [archiver] cannot restore from compressed archive

在RHEL 7上运行的postgresql 9.6.3中恢复转储文件时,我遇到以下错误

Error - 
pg_restore: [archiver] WARNING: archive is compressed, but this installation does not support compression -- no data will be available
pg_restore: [archiver] cannot restore from compressed archive (compression not supported in this installation)

在这方面有人能帮忙吗?提前谢谢

>您在没有zlib支持的情况下构建了它?。我在没有zlib支持的情况下重建了它。尽管如此,错误仍然存在。您能克服这个问题吗>您在没有zlib支持的情况下构建了它?。我用zlib支持重建了它。但是,错误仍然存在。您可以在哪里克服此问题