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

PostgreSQL problem (solaris)

From: Urban Widmark <urban(at)svenskatest(dot)se>
To: pgsql-ports(at)postgresql(dot)org
Subject: PostgreSQL problem (solaris)
Date: 2000-06-26 23:49:58
Message-ID: (view raw or whole thread)
Lists: pgsql-ports

I'm having a trigger/link/symbol problem in PostgreSQL 7.0.2 (same with
6.5.3) on a gnu'ified Solaris 2.5.1 box.

gcc & 2.95.2
binutils 2.9.1

% psql -f ~/pgsql/sql/initial-data.pgsql a0002a

psql:/home/puw/pgsql/sql/initial-data.pgsql:1: ERROR:  Load of file
/usr/local/pgsql/lib/ failed:
/usr/local/pgsql/bin/postmaster: fatal: relocation error: file
/usr/local/pgsql/lib/ symbol CurrentMemoryContext: referenced
symbol not found

initial-data.pgsql is simply a single insert on a table which has a
PL/pgSQL trigger defined on it. I get the same error in these regression


Searching the archives gave me this (actually google gave me this; the
search function on my local mirror,, seems to be
broken, the search on doesn't find any ref to
CurrentMemoryContext in the pgsql-ports list ...) :
	found no reply
	drifts into an ELF vs a.out discussion ... 

The symbol is defined in /usr/local/pgsql/bin/postgres and undefined in

Ideas anyone? Personally I suspect binutils/ or some wierd flag to
ld missing ...

Failing a quick answer, could someone point me to which code loads (psql or postgres would be a start :)



pgsql-ports by date

Next:From: Ryan KirkpatrickDate: 2000-06-27 00:36:02
Subject: Re: [HACKERS] Re: Call for port testing on fmgr changes -- Results!
Previous:From: Hiroshi InoueDate: 2000-06-26 23:08:03
Subject: RE: [HACKERS] .exe extension on Windows

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