Skip site navigation (1) Skip section navigation (2)

Compiling 6.5.1 on IRIX 6.5.4 with -o32 compiler option

From: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
To: "pgsql-ports(at)postgresql(dot)org" <pgsql-ports(at)postgresql(dot)org>
Subject: Compiling 6.5.1 on IRIX 6.5.4 with -o32 compiler option
Date: 1999-07-29 18:57:23
Message-ID: 37A0A413.FC3E0E39@nsi.edu (view raw or flat)
Thread:
Lists: pgsql-ports
I am trying to compile Postgres 6.5.1 on my SGI using the -o32 option of
the MIPSpro C compiler (old 32 bit architecture; IRIX 6.5.4). I had
success with the previous versions of Postgres but this one seems to not
work. Namely, the configure, gmake all, and gmake install goes through.
But when I try to do initdb, the following error pops up:

o21:postgres::/usr/local/pgsql_o32/bin > initdb

10125:pg_id: rld: Fatal Error: Cannot Successfully map soname
'libpq.so.2.0' under any of the filenames
/usr/local/pgsql/lib/libpq.so.2.0:/usr/local/matlab/extern/lib/sgi/libpq.so.2.0:/usr/lib/libpq.so.2.0:/usr/lib/internal/libpq.so.2.0:/lib/libpq.so.2.0:/lib/cmplrs/cc/libpq.so.2.0:/usr/lib/cmplrs/cc/libpq.so.2.0:/opt/lib/libpq.so.2.0:

Unable to determine a valid username.  If you are running
initdb without an explicit username specified, then there
may be a problem with finding the Postgres shared library
and/or the pg_id utility.

I mentioned this error a few days ago and originally thought that the
system just didn't know where to find libpq.so.2.0. However, now I am
wondering if it is finding it, but just doesn't like the fact that the
library is compiled in the old 32 bit architecture. Does anyone know if
6.5.1 can handle -o32 compilation?

I am going through the log files I created during gmake all and gmake
install but nothing obvious seems to show up on the lines that contain
libpq.so.2.0.

I'd appreciate any thoughts.
Thanks.
-Tony



pgsql-ports by date

Next:From: Michael J SchoutDate: 1999-07-29 20:20:09
Subject: Re: [PORTS] HP-UX port
Previous:From: Bruce MomjianDate: 1999-07-29 17:08:38
Subject: Re: [PORTS] RedHat6.0 & Alpha

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group