Received: from p-mail2.cnet.fr (p-mail2.rd.francetelecom.fr [193.49.124.32]) by hub.org (8.10.1/8.11.0) with SMTP id e9IGSCW15646 for ; Wed, 18 Oct 2000 12:28:13 -0400 (EDT) (envelope-from michel.decima@rd.francetelecom.fr) Received: from p-grive.issy.cnet.fr ([139.100.0.85]) by p-voyageur.issy.cnet.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id VCLX05BM; Wed, 18 Oct 2000 18:27:50 +0200 Received: from [139.100.4.138] (quetzal.issy.cnet.fr [139.100.4.138]) by p-grive.issy.cnet.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id VC12X4FW; Wed, 18 Oct 2000 18:27:50 +0200 From: Michel Decima To: Subject: Re: pltcl, linker and statistical functions Date: Wed, 18 Oct 2000 18:28:05 +0200 Message-Id: <19340912095949.18300@p-grive.issy.cnet.fr> X-Mailer: CTM PowerMail 3.0.5 (demo) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200010/76 X-Sequence-Number: 870 >ERROR: Load of file /usr/local/pgsql/lib/pltcl.so failed: ld.so.1: /usr/ >local/pgsql/bin/postmaster: fatal: relocation error: file /usr/local/pgs >ql/lib/pltcl.so: symbol CurrentMemoryContext: referenced symbol not found > > Is there a way to solve this dynamic link problem ? ok, sorry for the question... it is a solaris/gcc problem and the answer is here : http://www.postgresql.org/mhonarc/pgsql-hackers/2000-03/msg00030.html to make it work, I just added the following line to the solaris_sparc_gcc template: LDFLAGS:-Wl,--export-dynamic MD.