Обсуждение: checking on bug #5917
Hi, Recently I had trouble compiling from source on Fedora Core 14. The configure script was not finding libreadline.so nor libz.so. Is there more information I can provide? Over the weekend, I will make another attempt to try and understand why configure does not see these libraries. Thank you, Jim Woodworth
Jim Woodworth <jimw54321@gmail.com> writes:
> Recently I had trouble compiling from source on Fedora Core 14. The
> configure script was not finding libreadline.so nor libz.so. Is there more
> information I can provide? Over the weekend, I will make another attempt to
> try and understand why configure does not see these libraries.
I don't recall seeing such a bug, but the first question is whether you
installed readline-devel and zlib-devel packages. Consulting the
specfile for the Fedora PG package shows you may also need many of these:
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
BuildRequires: perl(ExtUtils::Embed), perl-devel
BuildRequires: python-devel
BuildRequires: tcl
BuildRequires: tcl-devel
BuildRequires: readline-devel
BuildRequires: zlib-devel
BuildRequires: openssl-devel
BuildRequires: krb5-devel
BuildRequires: openldap-devel
BuildRequires: gettext
BuildRequires: uuid-devel
BuildRequires: libxml2-devel libxslt-devel
BuildRequires: pam-devel
BuildRequires: systemtap-sdt-devel
regards, tom lane
On Fri, 2011-03-25 at 10:27 -0500, Jim Woodworth wrote: > Recently I had trouble compiling from source on Fedora Core 14. FWIW, http://yum.pgrpms.org has the precompiled packages for Fedora 14. -- Devrim GÜNDÜZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
On Fri, Mar 25, 2011 at 11:27 AM, Jim Woodworth <jimw54321@gmail.com> wrote: > Recently I had trouble compiling from source on Fedora Core 14.=A0 The > configure script was not finding libreadline.so nor libz.so.=A0 Is there = more > information I can provide?=A0 Over the weekend, I will make another attem= pt to > try and understand why configure does not see these libraries. Maybe you have the readline and zlib packages installed, but not readline-devel and zlib-devel? That's usually what bites me. --=20 Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company