libpq problem - kdevelop

From: "Gary S(dot) Brace" <gbrace(at)cais(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: libpq problem - kdevelop
Date: 2001-07-31 13:44:12
Message-ID: 0107310852050D.01890@linux1.brace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2001-07-31 15:15:32 Re: libpq problem - kdevelop
Previous Message Tom Lane 2001-07-31 01:56:17 Re: Re: [BUGS] WIN32 MULTIBYTE