Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id JAA08686 for postgres-redist; Fri, 3 Mar 1995 09:38:12 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199503031738.JAA08686@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.37.53]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with ESMTP id JAA08669 for <postgres@postgres.Berkeley.EDU>; Fri, 3 Mar 1995 09:38:10 -0800
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id JAA05670; Fri, 3 Mar 1995 09:37:05 -0800
Message-Id: <199503031737.JAA05670@faerie.CS.Berkeley.EDU>
X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
From: aoki@cs.berkeley.edu (Paul M. Aoki)
To: schoenle@informatik.uni-stuttgart.de
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: Problems with PQexec 
Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki)
In-reply-to: Your message of Fri, 3 Mar 1995 16:10:54 +0100 (MEZ) 
	     <9503031508.AA05906@ifi.informatik.uni-stuttgart.de> 
Date: Fri, 03 Mar 95 09:37:05 -0800
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Fri, 03 Mar 95 09:38:12 -0800
Resent-XMts: smtp

postgres@farfalle.informatik.uni-stuttgart.de writes:
> >        cc  -o test test.o
> >/bin/ld: Unsatisfied symbols:
> >   PQexec (code)
> >   PQfinish (code)
> >   PQsetdb (code)

try something like:
	cc -o test test.o /usr/postgres/lib/libpq.a
			  ^^^^^^^^^^^^^^^^^^^^^^^^^
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
