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

C interface problem

From: dsmclennan(at)spipowernet(dot)com(dot)au
To: pgsql-interfaces(at)postgresql(dot)org
Subject: C interface problem
Date: 2001-12-03 04:57:22
Message-ID: (view raw, whole thread or download thread mbox)
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 cannot open shared object file

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


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.


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
Previous:From: mordicusDate: 2001-12-02 18:13:31
Subject: INSERT INTO BUG (bis)

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