From: Wayne Liang <liangw@worldy.com>
To: pgsql-interfaces@postgresql.org
Subject: Problem with compiling programs
Date: Fri, 19 Nov 1999 13:32:08 -0500
Message-ID: <383597A8.318C2DCA@worldy.com> (raw)
I am trying to compiling a program with pq database access.
Like the following:
>---------------------------------------------<
gcc pulling.cpp -lpq -lcrypt
/usr/bin/ld: cannot open -lpq: No such file or directory
collect2: ld returned 1 exit status
>---------------------------------------------<
This program was working before, I am just re-compiling, but it doesn't
work this time, I have
>----------<
PGLIB="/usr/local/pgsql/lib" in env var
/usr/local/pgsql/lib
/usr/local/pgsql/include in /etc/ld.so.conf
>----------<
What else am I missing?
Jason Lam
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: liangw@worldy.com
Subject: Re: Problem with compiling programs
In-Reply-To: <383597A8.318C2DCA@worldy.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