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

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 (view raw or flat)
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

pgsql-interfaces by date

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

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