pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgreSQL 7.3 installation on RedHat 8.0 fails
5+ messages / 3 participants
[nested] [flat]
* PostgreSQL 7.3 installation on RedHat 8.0 fails
@ 2002-12-13 20:57 Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
0 siblings, 1 reply; 5+ messages in thread
From: Murthy Kambhampaty @ 2002-12-13 20:57 UTC (permalink / raw)
To: pgsql-admin; +Cc: pgsql-bugs@postgresql.org; pgsql-hackers@postgresql.org
On RedHat 8.0 (upgraded from Red Hat 7.2 with PostgreSQL 7.2.3), "make
check" gives the following error:
"/home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loc
al/pgsql/bin/pg_encoding: relocation error:
/home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loca
l/pgsql/bin/pg_encoding: undefined symbol: pg_char_to_encoding
createdb: "SQL_ASCII" is not a valid encoding name
pg_regress: createdb failed"
./configure line was:
CFLAGS='-O2 -pipe' ./configure --enable-integer-datetimes --with-perl
--with-python --with-tcl --enable-syslog
On a different machine, I have successfully compiled and installed running
RedHat 8.0 (but without an existing PostgreSQL installation) and passed all
tests.
Any help with this problem would be much appreciated.
Thanks,
Murthy
-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
Sent: Monday, December 09, 2002 20:09
To: Shibashish
Cc: pgsql-admin@postgresql.org; pgsql-bugs@postgresql.org;
pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] PostgreSQL 7.3 Installation on SCO
It should have worked, but edit Makefile.shlib and remove that offending
export from the link line. That may fix it.
---------------------------------------------------------------------------
Shibashish wrote:
> Dear Sir,
>
> I use SCO Open Server 5.0.5 on an intel box. Although I have installed and
> used PostgreSQL on Linux, setting it on SCO has not been successful :$
> I have downloaded the latest version ie "Postgresql-7.3" I have also tried
> installing postgresql-7.1 and postgresql-7.2.3, but never succeeded.
>
> I also installed "ant" package for using java. I have "tcl8.0," "tk8.0,"
> "itclsh3.0" and "itkwish3.0" installed in my system.
> "gcc version 2.7.2.1"
> "Java 2 SDK, Standard Edition, v. 1.2.1"
> "GNU Make 3.80"
>
> My "configure" command was as following ...
> ./configure --prefix=/data/pgsql --with-perl --with-tcl
> --with-tclconfig=/data/tcl/lib/ --with-tkconfig=/data/tk/lib/
> --with-java --without-readline --without-zlib
>
> The output has been attached as file "configoutput.txt"
>
> Then i give the "make" command. The compiling stops on an error and
> exits after some time. The output has been attached as file
> "makeoutput.txt"
>
> I'd be thankful to you if you can help me out sort the problem. I got your
> mail-ids from the net and came to know that you are working on the similar
> lines.
>
> Also, in the file doc/FAQ_SCO, does the section "Compiling PostgreSQL 7.1
> with the UDK" apply to release 7.3 of Postgresql ? I am not using UDK.
>
> Waiting for a quick response from your end. kindly inform me if you have
> already solved the problem, or whether any patch is available. Any
> documentation or url will be highly helpful.
>
> Thanking You in anticipation.
>
> with regards
> Shibashish
>
> shiba@it.iitb.ac.in
> On Yahoo Messenger : shib_leo
>
> Software Engineer
> IIT Bombay, India.
Content-Description:
[ Attachment, skipping... ]
Content-Description:
[ Attachment, skipping... ]
Content-Description:
[ Attachment, skipping... ]
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
^ permalink raw reply [nested|flat] 5+ messages in thread
* FW: RE: PostgreSQL 7.3 installation on RedHat 8.0 fails [ Follow up]
@ 2002-12-13 21:36 Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
0 siblings, 0 replies; 5+ messages in thread
From: Murthy Kambhampaty @ 2002-12-13 21:36 UTC (permalink / raw)
To: pgsql-admin; +Cc: pgsql-bugs@postgresql.org; pgsql-hackers@postgresql.org
I tested database creation using v7.2.3 and I get the same pg_encoding error
if I give the "-E SQL_ASCII" option to createdb. If I don't give any
options, it creates the database just fine, and shows the encoding to be
SQL_ASCII. Moreover, issuing the query
"create database testmenow with template=template1 encoding='SQL_ASCII'"
from psql goes fine.
Murthy
-----Original Message-----
From: Murthy Kambhampaty [mailto:murthy.kambhampaty@goeci.com]
Sent: Friday, December 13, 2002 15:58
To: pgsql-admin@postgresql.org
Cc: pgsql-bugs@postgresql.org; pgsql-hackers@postgresql.org
Subject: [ADMIN] PostgreSQL 7.3 installation on RedHat 8.0 fails
On RedHat 8.0 (upgraded from Red Hat 7.2 with PostgreSQL 7.2.3), "make
check" gives the following error:
"/home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loc
al/pgsql/bin/pg_encoding: relocation error:
/home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loca
l/pgsql/bin/pg_encoding: undefined symbol: pg_char_to_encoding
createdb: "SQL_ASCII" is not a valid encoding name
pg_regress: createdb failed"
./configure line was:
CFLAGS='-O2 -pipe' ./configure --enable-integer-datetimes --with-perl
--with-python --with-tcl --enable-syslog
On a different machine, I have successfully compiled and installed running
RedHat 8.0 (but without an existing PostgreSQL installation) and passed all
tests.
Any help with this problem would be much appreciated.
Thanks,
Murthy
-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
Sent: Monday, December 09, 2002 20:09
To: Shibashish
Cc: pgsql-admin@postgresql.org; pgsql-bugs@postgresql.org;
pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] PostgreSQL 7.3 Installation on SCO
It should have worked, but edit Makefile.shlib and remove that offending
export from the link line. That may fix it.
---------------------------------------------------------------------------
Shibashish wrote:
> Dear Sir,
>
> I use SCO Open Server 5.0.5 on an intel box. Although I have installed and
> used PostgreSQL on Linux, setting it on SCO has not been successful :$
> I have downloaded the latest version ie "Postgresql-7.3" I have also tried
> installing postgresql-7.1 and postgresql-7.2.3, but never succeeded.
>
> I also installed "ant" package for using java. I have "tcl8.0," "tk8.0,"
> "itclsh3.0" and "itkwish3.0" installed in my system.
> "gcc version 2.7.2.1"
> "Java 2 SDK, Standard Edition, v. 1.2.1"
> "GNU Make 3.80"
>
> My "configure" command was as following ...
> ./configure --prefix=/data/pgsql --with-perl --with-tcl
> --with-tclconfig=/data/tcl/lib/ --with-tkconfig=/data/tk/lib/
> --with-java --without-readline --without-zlib
>
> The output has been attached as file "configoutput.txt"
>
> Then i give the "make" command. The compiling stops on an error and
> exits after some time. The output has been attached as file
> "makeoutput.txt"
>
> I'd be thankful to you if you can help me out sort the problem. I got your
> mail-ids from the net and came to know that you are working on the similar
> lines.
>
> Also, in the file doc/FAQ_SCO, does the section "Compiling PostgreSQL 7.1
> with the UDK" apply to release 7.3 of Postgresql ? I am not using UDK.
>
> Waiting for a quick response from your end. kindly inform me if you have
> already solved the problem, or whether any patch is available. Any
> documentation or url will be highly helpful.
>
> Thanking You in anticipation.
>
> with regards
> Shibashish
>
> shiba@it.iitb.ac.in
> On Yahoo Messenger : shib_leo
>
> Software Engineer
> IIT Bombay, India.
Content-Description:
[ Attachment, skipping... ]
Content-Description:
[ Attachment, skipping... ]
Content-Description:
[ Attachment, skipping... ]
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
^ permalink raw reply [nested|flat] 5+ messages in thread
* [SOLVED] RE: PostgreSQL 7.3 installation on RedHat 8.0 fails
@ 2002-12-13 21:48 Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
0 siblings, 1 reply; 5+ messages in thread
From: Murthy Kambhampaty @ 2002-12-13 21:48 UTC (permalink / raw)
To: pgsql-admin
Sorry for the chatter. I used "gmake" instead of "make" and passed all 89
tests. That's a new one on me.
With apologies,
Murthy
-----Original Message-----
From: Murthy Kambhampaty
Sent: Friday, December 13, 2002 15:58
To: pgsql-admin@postgresql.org
Cc: pgsql-bugs@postgresql.org; pgsql-hackers@postgresql.org
Subject: PostgreSQL 7.3 installation on RedHat 8.0 fails
On RedHat 8.0 (upgraded from Red Hat 7.2 with PostgreSQL 7.2.3), "make
check" gives the following error:
"/home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loc
al/pgsql/bin/pg_encoding: relocation error:
/home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loca
l/pgsql/bin/pg_encoding: undefined symbol: pg_char_to_encoding
createdb: "SQL_ASCII" is not a valid encoding name
pg_regress: createdb failed"
./configure line was:
CFLAGS='-O2 -pipe' ./configure --enable-integer-datetimes --with-perl
--with-python --with-tcl --enable-syslog
On a different machine, I have successfully compiled and installed running
RedHat 8.0 (but without an existing PostgreSQL installation) and passed all
tests.
Any help with this problem would be much appreciated.
Thanks,
Murthy
-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
Sent: Monday, December 09, 2002 20:09
To: Shibashish
Cc: pgsql-admin@postgresql.org; pgsql-bugs@postgresql.org;
pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] PostgreSQL 7.3 Installation on SCO
It should have worked, but edit Makefile.shlib and remove that offending
export from the link line. That may fix it.
---------------------------------------------------------------------------
Shibashish wrote:
> Dear Sir,
>
> I use SCO Open Server 5.0.5 on an intel box. Although I have installed and
> used PostgreSQL on Linux, setting it on SCO has not been successful :$
> I have downloaded the latest version ie "Postgresql-7.3" I have also tried
> installing postgresql-7.1 and postgresql-7.2.3, but never succeeded.
>
> I also installed "ant" package for using java. I have "tcl8.0," "tk8.0,"
> "itclsh3.0" and "itkwish3.0" installed in my system.
> "gcc version 2.7.2.1"
> "Java 2 SDK, Standard Edition, v. 1.2.1"
> "GNU Make 3.80"
>
> My "configure" command was as following ...
> ./configure --prefix=/data/pgsql --with-perl --with-tcl
> --with-tclconfig=/data/tcl/lib/ --with-tkconfig=/data/tk/lib/
> --with-java --without-readline --without-zlib
>
> The output has been attached as file "configoutput.txt"
>
> Then i give the "make" command. The compiling stops on an error and
> exits after some time. The output has been attached as file
> "makeoutput.txt"
>
> I'd be thankful to you if you can help me out sort the problem. I got your
> mail-ids from the net and came to know that you are working on the similar
> lines.
>
> Also, in the file doc/FAQ_SCO, does the section "Compiling PostgreSQL 7.1
> with the UDK" apply to release 7.3 of Postgresql ? I am not using UDK.
>
> Waiting for a quick response from your end. kindly inform me if you have
> already solved the problem, or whether any patch is available. Any
> documentation or url will be highly helpful.
>
> Thanking You in anticipation.
>
> with regards
> Shibashish
>
> shiba@it.iitb.ac.in
> On Yahoo Messenger : shib_leo
>
> Software Engineer
> IIT Bombay, India.
Content-Description:
[ Attachment, skipping... ]
Content-Description:
[ Attachment, skipping... ]
Content-Description:
[ Attachment, skipping... ]
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: PostgreSQL 7.3 installation on RedHat 8.0 fails
@ 2002-12-14 00:24 Tom Lane <tgl@sss.pgh.pa.us>
parent: Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
0 siblings, 0 replies; 5+ messages in thread
From: Tom Lane @ 2002-12-14 00:24 UTC (permalink / raw)
To: Murthy Kambhampaty <murthy.kambhampaty@goeci.com>; +Cc: pgsql-admin; pgsql-bugs@postgresql.org; pgsql-hackers@postgresql.org
Murthy Kambhampaty <murthy.kambhampaty@goeci.com> writes:
> "/home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loc
> al/pgsql/bin/pg_encoding: relocation error:
> /home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loca
> l/pgsql/bin/pg_encoding: undefined symbol: pg_char_to_encoding
This usually means that the dynamic linker is picking up a version of
libpq.so that doesn't have MULTIBYTE support, but the program you are
trying to run requires MULTIBYTE. Fix: update your ldconfig settings
so that the thing finds the version of libpq.so you just built, rather
than whatever old version it's finding.
pg_regress tries to get the system to notice the libpq.so that it
installed in the tmp_check/install area, but I believe it's quite a
ways short of making that work correctly everywhere.
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [SOLVED] RE: PostgreSQL 7.3 installation on RedHat 8.0
@ 2002-12-14 00:39 Peter Eisentraut <peter_e@gmx.net>
parent: Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
0 siblings, 0 replies; 5+ messages in thread
From: Peter Eisentraut @ 2002-12-14 00:39 UTC (permalink / raw)
To: Murthy Kambhampaty <murthy.kambhampaty@goeci.com>; +Cc: pgsql-admin
Murthy Kambhampaty writes:
> Sorry for the chatter. I used "gmake" instead of "make" and passed all 89
> tests. That's a new one on me.
They're the same program, so this wasn't the cause. You probably
installed the files before you reran the regression tests, which typically
fixes this sort of problem.
--
Peter Eisentraut peter_e@gmx.net
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2002-12-14 00:39 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-13 20:57 PostgreSQL 7.3 installation on RedHat 8.0 fails Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
2002-12-14 00:24 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-12-13 21:36 FW: RE: PostgreSQL 7.3 installation on RedHat 8.0 fails [ Follow up] Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
2002-12-13 21:48 [SOLVED] RE: PostgreSQL 7.3 installation on RedHat 8.0 fails Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
2002-12-14 00:39 ` Re: [SOLVED] RE: PostgreSQL 7.3 installation on RedHat 8.0 Peter Eisentraut <peter_e@gmx.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox