Problem with compiling programs - Mailing list pgsql-interfaces

From Wayne Liang
Subject Problem with compiling programs
Date
Msg-id 383597A8.318C2DCA@worldy.com
Whole thread Raw
List 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


pgsql-interfaces by date:

Previous
From: Jason Earl
Date:
Subject: Re: [INTERFACES] Date: Fri, 19 Nov 1999 11:25:20 +1200
Next
From: "Sergio A. Kessler"
Date:
Subject: Re: [INTERFACES] pg_pwd