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

RE: [INTERFACES] Linking Errors

From: "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>
To: "'Mike '" <mfre(at)telusplanet(dot)net>, "'pgsql-interfaces(at)postgresql(dot)org '" <pgsql-interfaces(at)postgresql(dot)org>
Subject: RE: [INTERFACES] Linking Errors
Date: 2000-01-21 22:01:51
Message-ID: 1BF7C7482189D211B03F00805F8527F748C476@S-NATH-EXCH2 (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
>> 2. When I set the -lpq and -lpq++ I know it is suppose to be including
>> those libraries but do I need to tell the system where those libraries
>> are?  How does it know?
You add a -L switch to the command line to add library paths, and a -I
switch for include paths:

c++ -o test -L$PGHOME/lib -I$PGHOME/include -lpq -lpq++ test.c

or something...


pgsql-interfaces by date

Next:From: Byron NikolaidisDate: 2000-01-22 16:40:46
Subject: Re: [INTERFACES] Re: ODBC drive strange behavior
Previous:From: Tibor LaszloDate: 2000-01-21 16:53:32
Subject: psql - odbc - bde - data dictionary

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