Received: from nsi.edu (amethea.nsi.edu [198.133.185.9]) by hub.org (8.9.1/8.9.1) with ESMTP id RAA04129 for ; Thu, 19 Nov 1998 17:09:26 -0500 (EST) (envelope-from reina@nsi.edu) Received: from nsi.edu (IDENT:reina@bigred.nsi.edu [204.128.156.214]) by nsi.edu (8.9.1/8.9.1) with ESMTP id OAA26013 for ; Thu, 19 Nov 1998 14:09:25 -0800 (PST) Sender: reina@nsi.edu Message-ID: <36549790.8A37F70F@nsi.edu> Date: Thu, 19 Nov 1998 14:11:28 -0800 From: "G. Anthony Reina" Organization: The Neurosciences Institute X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i686) MIME-Version: 1.0 To: "pgsql-questions@postgresql.org" Subject: Postgres installed but my C programs won't compile Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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