Postgres 6.5.1 on IRIX 6.5.4 with -o32 bit libraries - Mailing list pgsql-ports

From G. Anthony Reina
Subject Postgres 6.5.1 on IRIX 6.5.4 with -o32 bit libraries
Date
Msg-id 379F5432.C86F3C76@nsi.edu
Whole thread Raw
List pgsql-ports
I am installing a client postgres on an SGI O2 (IRIX 6.5.4) using both
the 64 bit and -o32 bit libraries. The 64 bit works fine, but the -o32
bit library gives me this on execution of a C program :

o21:reina::/database > TEST_SQL_PROGRAM
65584:TEST_SQL_PROGRAM: 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:



    Now /usr/local/pgsql/lib/libpq.so.2.0 does exist but is the 64 bit
flavor. The -o32 bit is in /usr/local/pgsql_o32/lib/libpq.so.2.0. Is
there someway that I can tell postgres to look for it there (preferably
during compilation) ? I am adding the pointers
-I/usr/local/pgsql_o32/include -L/usr/local/pgsql_o32/lib -lpq to the cc
compilation line but that doesn't seem to be correcting the problem.

Thanks.
-Tony



pgsql-ports by date:

Previous
From: Michael J Schout
Date:
Subject: HP-UX port
Next
From: Mark Dalphin
Date:
Subject: Re: [PORTS] Postgres 6.5.1 on IRIX 6.5.4 with -o32 bit libraries