Skip site navigation (1) Skip section navigation (2)

C interface libpq.so.2 problem

From: dsmclennan(at)spipowernet(dot)com(dot)au
To: pgsql-interfaces(at)postgresql(dot)org
Subject: C interface libpq.so.2 problem
Date: 2001-12-03 04:57:22
Message-ID: OFB13671EA.7394FFAD-ONCA256B17.001B323A@spipowernet.com.au (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-interfaces
Hi ,

as a new user I have followed the Momjian libpq sample program format

#include "libpq-fe.h"

and cc -I/usr/local/pgsql/include -o myapp myapp.c
-L/usr/local/pgsql/lib -lpq

my application compiles but on execution gives

libpq.so.2: cannot open shared object file

Similar problems have been listed before but none of the suggestions fixed
my problem.
Does anyone recognise this problem?

Thanks

David McLennan



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


Responses

pgsql-interfaces by date

Next:From: Andreas KretzerDate: 2001-12-03 10:10:26
Subject: TCL with large objects on Win
Previous:From: Tom LaneDate: 2001-12-02 16:29:27
Subject: Re: LISTEN & transactions

pgsql-general by date

Next:From: Yuri A. KabaenkovDate: 2001-12-03 07:35:45
Subject: BEGIN, ROLLBACK,COMMIT
Previous:From: mordicusDate: 2001-12-02 18:13:31
Subject: INSERT INTO BUG (bis)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group