pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carlos Moreno <moreno@mochima.com>
To: pgsql-interfaces@postgresql.org
Subject: C++ interface on RH Linux 6.2
Date: Mon, 14 May 2001 23:10:03 -0400
Message-ID: <3B009E0B.1D244524@mochima.com> (raw)
References: <200105150021.RAA26991@scotts.mynetwork.net>


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 <pgsql/libpq++.h>

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
--



view thread (3+ messages)  latest in thread

Message-ID: <3B009E0B.1D244524@mochima.com>
Permalink:  ../3B009E0B.1D244524@mochima.com/
Also on:    postgresql.org/message-id/3B009E0B.1D244524@mochima.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: moreno@mochima.com
  Subject: Re: C++ interface on RH Linux 6.2
  In-Reply-To: <3B009E0B.1D244524@mochima.com>

* 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