Fwd: Problem installing Postgresql on MDK10.0
Sorry, but no reply on pgsql-ports@postgresql.org.
---------- Forwarded message ----------
From: Alejandro D. Burne <alejandro.dburne@gmail.com>
Date: Mon, 15 Nov 2004 15:00:58 +0100
Subject: Problem installing Postgresql on MDK10.0
To: pgsql-ports@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
Import Notes
Reply to msg id not found: 8398dc6d04111506007c79b93d@mail.gmail.comReference msg id not found: 8398dc6d04111506007c79b93d@mail.gmail.com
"Alejandro D. Burne" <alejandro.dburne@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
--On Dienstag, November 16, 2004 17:39:12 +0100 "Alejandro D. Burne"
<alejandro.dburne@gmail.com> wrote:
Sorry, but no reply on pgsql-ports@postgresql.org.
---------- Forwarded message ----------
From: Alejandro D. Burne <alejandro.dburne@gmail.com>
Date: Mon, 15 Nov 2004 15:00:58 +0100
Subject: Problem installing Postgresql on MDK10.0
To: pgsql-ports@postgresql.orgI'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-7mdkThen 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
I think you have to install ncurses. On Mdk 10 its libncurses5-devel I
think.
Try that and see what happens.
Regards,
Ben
Import Notes
Resolved by subject fallback
Hi,
I have the same problem and I solved it. This question then was asked
and I answer it. Try looking at the google and you will find it.
In general - Open the package manager and searche for keyword "redline".
The neccessary library will apper and you just will have to install it.
Regards,
Kaloyan
Alejandro D. Burne wrote:
Show quoted text
Sorry, but no reply on pgsql-ports@postgresql.org.
---------- Forwarded message ----------
From: Alejandro D. Burne <alejandro.dburne@gmail.com>
Date: Mon, 15 Nov 2004 15:00:58 +0100
Subject: Problem installing Postgresql on MDK10.0
To: pgsql-ports@postgresql.orgI'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-7mdkThen 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
Thanks Ben, libncures5 was installed but libncurses5-devel don't.
Problem solved! I must find zlib deps now ;+)
Show quoted text
On Wed, 17 Nov 2004 09:20:00 +0000, Ben Trewern <ben_trewern@hotmail.com> wrote:
I think you have to install ncurses. On Mdk 10 its libncurses5-devel I
think.Try that and see what happens.
Regards,
Ben
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?