From: G. Anthony Reina <reina@nsi.edu>
To: pgsql-questions@postgresql.org <pgsql-sql@postgreSQL.org>
Subject: Postgres installed but my C programs won't compile
Date: Thu, 19 Nov 1998 14:11:28 -0800
Message-ID: <36549790.8A37F70F@nsi.edu> (raw)
I had no trouble installing Postgres 6.4 on my RedHat 5.1 Linux machine.
However, the C programs I had previously written to access the SQL
database were not returning the correct values. I tried to make some
changes and re-compile the program but got the following error when I
tried to run the re-compiled program:
[reina ~/c_programs]$ cc process_kinematics.c -o PROCESS_KINEMATICS $SQL
matrix_tools.c gcvspl.o -lm
[reina ~/c_programs]$ PROCESS_KINEMATICS
PROCESS_KINEMATICS: error in loading shared libraries
libpq.so.2.0: cannot open shared object file: No such file or directory
It looks as though SQL can't find my shared libraries for Postgres
anymore. Does anybody know why?
I tried copying my 6.3.2 version back into the proper directories and
the program will compile and re-run correctly.
Anyone know what to do?
Thanks.
-Tony
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: reina@nsi.edu
Subject: Re: Postgres installed but my C programs won't compile
In-Reply-To: <36549790.8A37F70F@nsi.edu>
References: <36549790.8A37F70F@nsi.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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