Problem with compiling programs

From: Wayne Liang <liangw(at)worldy(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Problem with compiling programs
Date: 1999-11-19 18:32:08
Message-ID: 383597A8.318C2DCA@worldy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sergio A. Kessler 1999-11-19 22:08:59 Re: [INTERFACES] pg_pwd
Previous Message Jason Earl 1999-11-19 15:58:52 Re: [INTERFACES] Date: Fri, 19 Nov 1999 11:25:20 +1200