Received: from home.worldy.com (ns1.WORLDY.COM [209.5.30.40]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA45351 for ; Fri, 19 Nov 1999 13:31:31 -0500 (EST) (envelope-from lamj@worldy.com) Received: from worldy.com ([209.5.30.50]) by home.worldy.com (8.8.7/8.8.7) with ESMTP id NAA31543 for ; Fri, 19 Nov 1999 13:31:27 -0500 Message-ID: <383597A8.318C2DCA@worldy.com> Date: Fri, 19 Nov 1999 13:32:08 -0500 From: Wayne Liang X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Problem with compiling programs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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