PostgreSQL 7.1.3 Installation Problem

Started by Emmanuel Asanteover 24 years ago5 messagesgeneral
Jump to latest
#1Emmanuel Asante
asante@mweb.co.za

I am trying to install PostgreSQL version 7.1.3 on a Win98 platform. The configuration step completes without incident but when I run make, I get the following error messages.

-L ../../src/interfaces/libpq -lpq -L/usr/local/lib -g -lz -lcrypt -lreadline -lcygipc -o psql
tab-complete.o(.text+0x2a36):tab-complete.c:undefined reference to 'filename_completion_function'
Collect2: ld returned 1 exit status
make[3]:***[psql] Error 1
make[3]:Leaving directory '/usr/src/postgresql-7.1.3/src/bin/psql'
make[2]:***[all] Error 2
make[2]:Leaving directory '/usr/src/postgresql-7.1.3/src/bin'
make[1]:***[all] Error 2
make[1]:Leaving directory '/usr/src/postgresql-7.1.3/src'
make: *** [all] Error 2

Can anybody tell me what is wrong and what I should do to correct it.

Thanks,

Emmanuel

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Emmanuel Asante (#1)
Re: PostgreSQL 7.1.3 Installation Problem

"Emmanuel Asante" <asante@mweb.co.za> writes:

tab-complete.o(.text+0x2a36):tab-complete.c:undefined reference to 'filenam=
e_completion_function'

You may need a newer or different version of libreadline.

regards, tom lane

#3Emmanuel Asante
asante@mweb.co.za
In reply to: Emmanuel Asante (#1)
Re: PostgreSQL 7.1.3 Installation Problem

Tom,

The version of readline I used is the latest (i.e. version 4.2-3). I got a
new copy from another source but I still got the same error messages. Do you
think an older version will work?

Regards,

Emmanuel Asante

----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Emmanuel Asante" <asante@mweb.co.za>
Cc: <pgsql-general@postgresql.org>
Sent: Sunday, December 16, 2001 5:13 PM
Subject: Re: [GENERAL] PostgreSQL 7.1.3 Installation Problem

"Emmanuel Asante" <asante@mweb.co.za> writes:

tab-complete.o(.text+0x2a36):tab-complete.c:undefined reference to

'filenam=

Show quoted text

e_completion_function'

You may need a newer or different version of libreadline.

regards, tom lane

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Emmanuel Asante (#3)
Re: PostgreSQL 7.1.3 Installation Problem

"Emmanuel Asante" <asante@mweb.co.za> writes:

The version of readline I used is the latest (i.e. version 4.2-3). I got a
new copy from another source but I still got the same error messages. Do you
think an older version will work?

Hmm, maybe. The readline boys have a bad habit of making incompatible
API changes with every release :-(. I know we had it working with all
readline releases up through a few months ago, but maybe they've
zigzagged again. Could you try it with 4.2 or before? If it works that
way then I'll try to figure out what they changed...

regards, tom lane

#5Tom Lane
tgl@sss.pgh.pa.us
In reply to: Emmanuel Asante (#3)
Re: PostgreSQL 7.1.3 Installation Problem

Oh btw: make very certain that your readline library and include files
are from the same release. (If you're working with rpms, that's the
library and devel rpms...)

regards, tom lane