Received: from VL-MS-MR002.sc1.videotron.ca (relais.videotron.ca [24.201.245.36]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4F3DjA17835 for ; Mon, 14 May 2001 23:13:46 -0400 (EDT) (envelope-from moreno@mochima.com) Received: from mochima.com ([24.202.175.74]) by VL-MS-MR002.sc1.videotron.ca (Netscape Messaging Server 4.15) with ESMTP id GDCWT505.B6X for ; Mon, 14 May 2001 23:10:17 -0400 Message-ID: <3B009E0B.1D244524@mochima.com> Date: Mon, 14 May 2001 23:10:03 -0400 From: Carlos Moreno Organization: Mochima Software / AudioSystems X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: C++ interface on RH Linux 6.2 References: <200105150021.RAA26991@scotts.mynetwork.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/70 X-Sequence-Number: 1597 Hi, I'm compiling my applications on a RedHat 7.0 or 7.1 system, and had no trouble so far. I include in my program the following: #include And then, when compiling, I use the switches: -I/usr/include/pgsql and -lpq++ Works fine. But one of my students is trying to work on his machine at home (he has RH6.2), and is running into a couple of problems. libpq++.h -- include file not found. I checked it, and the file was called libpq++.H When changing the include and compiling with the same switches, it did compile, but then when executing it, he got an error: can not load runtime library *****.so*** (don't have the exact message here, but I remember it was about not being able to load the *.so* runtime lib) I assume the default setup on RH6.2 is different than the new default setup on RH7+. What should I (he) do? Is there any documentation where I could find instructions for the various standard setups? Thanks! Carlos --