Received: from resy5.fzk.de (resy5.fzk.de [141.52.68.8]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8J8QAe56899 for ; Wed, 19 Sep 2001 04:26:10 -0400 (EDT) (envelope-from ch@rodos.fzk.de) Received: by rodos.fzk.de with ESMTP (8.8.6 (PHNE_17135)/8.7.1) id KAA24357; Wed, 19 Sep 2001 10:25:43 +0200 (METDST) From: Haller Christoph Message-Id: <200109190824.KAA23466@rodos> Subject: Re: Registring a C function in PostgreSQL To: iafmgc@unileon.es (=?iso-8859-1?Q?Miguel_Gonz=E1lez?=) Date: Wed, 19 Sep 2001 10:24:54 METDST Cc: pgsql-sql@postgresql.org In-Reply-To: <001f01c1406c$954f91b0$1301a8c0@uimagen>; from "=?iso-8859-1?Q?Miguel_Gonz=E1lez?=" at Sep 19, 101 4:42 am X-Mailer: Elm [revision: 212.4] X-Archive-Number: 200109/141 X-Sequence-Number: 4819 Did you use the compiler option for generating position independent code (PIC) for use in building shared libraries. Did you use the linker option for creating a shared library - I think you did, the file suffix .so looks that way. I did it several times successfully using commands like CREATE FUNCTION byteatostr(bytea) RETURNS text AS './byteatostr.sl' LANGUAGE 'c'; and it worked. Maybe you should add some more information about what you did in detail. Regards, Christoph