Return-Path: postarch
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA18819; Fri, 1 May 92 11:18:00 -0700
Message-Id: <9205011818.AA18819@postgres.Berkeley.EDU>
From: postarch (Postgres Mailing Archive)
Subject: Re: C function in postgres
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Reply-To: mer@postgres.berkeley.edu
In-Reply-To: Your message of "Thu, 30 Apr 92 14:33:26 PDT."
             <01GJGT2UYOUO9BW2KX@umiami.IR.Miami.EDU> 
Date: Fri, 01 May 92 11:17:37 PDT

you write:

> I am running the front-end and back-end on the same Decstation 5000
> under Ultrix 4.0.  To make the function load I had to add:
> 
> 	extern system()
> 	SymbolDecl(system)
> 
> to dec/dynamic_syms.c as you recommended in a previous message and 
> then issue:
> 
> 	Make postgres install
> 
> Is my problem that I'm running Ultrix 4.0 or is it something else?

My 5000 is running Ultrix 4.1 so I think it is probably something else.

Sounds like you picked the wrong port when you installed.  You should
have chosen ultrix4.  If you had you wouldn't need to have messed around
with dynamic loader code.  I don't know if this is the reason for your
problem, but it is probably a good place to start.  To change ports you
will need to run the following:

	rm -rf $POSTGRESHOME/obj.dec
	cd $POSTGRESHOME/newconf
	newport
	Make everything install

When newport prompts for the new port to use make sure to pick ultrix4.


Jeff Meredith
mer@postgres.berkeley.edu
