Return-Path: mao
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA17826; Tue, 23 Feb 93 16:38:58 -0800
Message-Id: <9302240038.AA17826@postgres.Berkeley.EDU>
From: <mao@postgres.berkeley.edu>
Subject: Re: large object compiling error
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
In-Reply-To: Your message of Tue, 23 Feb 93 16:25:13 PST.
             <Pine.3.05.9302231624.A6131-a100000@wolf.cs.washington.edu> 
Date: Tue, 23 Feb 93 16:39:30 PST

In message <Pine.3.05.9302231624.A6131-a100000@wolf.cs.washington.edu> you write:
> 	I was trying to compile the example large object program on p. 113
> of the Postgres Reference Manual.  I ran into this compiling error:
> 
> cc -I$POSTGRESHOME/src/lib/H -I$POSTGRESHOME/src/port/$PORTNAME -o
> LOwrite.exe LOwrite.c libpq.a
> ld: Undefined symbol 
>    _setenv 
> Compilation failed

libpq contains an (erroneous) call to setenv(), which should be putenv().
you can rat around in the libpq source files and find this, or you can
sit tight for a day or two and get the 4.1 release of postgres, which has
this bug (among others) fixed.
					mike
