pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary S. Brace <gbrace@cais.com>
To: pgsql-interfaces@postgresql.org
Subject: libpq problem - kdevelop
Date: Tue, 31 Jul 2001 08:44:12 -0500
Message-ID: <0107310852050D.01890@linux1.brace.com> (raw)

Hi, 

I cannot seem to be able to use libpq in a kdevelop c program- I get the error
message upon execution: ./testpg: error loading shared libraries:
libpq.so.2: cannot load shared object file: No such file or directory

include:

#include "libpq-fe.h"

compiler options -> additional options: -I/usr/local/pgsql/include

linker options-> additional libraries: -lpq -L/usr/local/pgsql/include

(/usr/local/pgsql) is the correct path. Anybody know what I'm doing wrong? 

Thanks



view thread (2+ messages)  latest in thread

Message-ID: <0107310852050D.01890@linux1.brace.com>
Permalink:  ../0107310852050D.01890@linux1.brace.com/
Also on:    postgresql.org/message-id/0107310852050D.01890@linux1.brace.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: gbrace@cais.com
  Subject: Re: libpq problem - kdevelop
  In-Reply-To: <0107310852050D.01890@linux1.brace.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