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