Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fwd: Problem installing Postgresql on MDK10.0

0 views
Skip to first unread message

Alejandro D. Burne

unread,
Nov 16, 2004, 11:39:12 AM11/16/04
to
Sorry, but no reply on pgsql...@postgresql.org.

---------- Forwarded message ----------
From: Alejandro D. Burne <alejandr...@gmail.com>
Date: Mon, 15 Nov 2004 15:00:58 +0100
Subject: Problem installing Postgresql on MDK10.0
To: pgsql...@postgresql.org


I'll be trying to install postgres 8.0b1/b4; when I make the config a
message appear:

"configure: error: readline library not found"

$ rpm -qa | grep readline
libreadline4-4.3-7mdk
libreadline4-devel-4.3-7mdk

Then I try;

$ ./configure --with-libraries=/lib --with-includes=/usr/include/readline
(where the libs are)

I read a message from Tom Lane talking about termcap, it's installed too.

The same problem occurs with zlib.

I fix it skipping both libs with

./configure --without-readline --without-zlib

but...

Alejandro

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Tom Lane

unread,
Nov 16, 2004, 1:17:14 PM11/16/04
to
"Alejandro D. Burne" <alejandr...@gmail.com> writes:
> I'll be trying to install postgres 8.0b1/b4; when I make the config a
> message appear:

> "configure: error: readline library not found"

> $ rpm -qa | grep readline
> libreadline4-4.3-7mdk
> libreadline4-devel-4.3-7mdk

Try looking at the config.log output in the part where it's trying to
find readline (should be near the end); the link error messages may be
enlightening. If not, try "ldd" on the readline library file to see
what its dependencies are --- the best theory I have is that you are
missing some library it requires. (It ain't necessarily termcap.)
Of course if you are this would indicate a packaging mistake for
libreadline, because it should have had an RPM dependency on whatever
it needs.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Bernd Helmle

unread,
Nov 16, 2004, 3:43:24 PM11/16/04
to
--On Dienstag, November 16, 2004 17:39:12 +0100 "Alejandro D. Burne"
<alejandr...@gmail.com> wrote:

> Sorry, but no reply on pgsql...@postgresql.org.
>
> ---------- Forwarded message ----------
> From: Alejandro D. Burne <alejandr...@gmail.com>
> Date: Mon, 15 Nov 2004 15:00:58 +0100
> Subject: Problem installing Postgresql on MDK10.0
> To: pgsql...@postgresql.org
>
>
> I'll be trying to install postgres 8.0b1/b4; when I make the config a
> message appear:
>

running MDK 10.0, but no problem here (and never had).

> "configure: error: readline library not found"
>
> $ rpm -qa | grep readline
> libreadline4-4.3-7mdk
> libreadline4-devel-4.3-7mdk
>
> Then I try;
>
> $ ./configure --with-libraries=/lib --with-includes=/usr/include/readline
> (where the libs are)

Try running "ldconfig" and look if /lib contains valid links to
libreadline.so.4(.3). Also try ldconfig -p to examine the linker cache
then. /lib looks like this on my MDK 10.0 installation then:

libreadline.so -> libreadline.so.4.3
libreadline.so.4 -> libreadline.so.4.3
libreadline.so.4.1 -> ../lib/libreadline.so.4
libreadline.so.4.2 -> ../lib/libreadline.so.4
libreadline.so.4.3

[...]

--

Bernd

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

0 new messages