X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EB8AC8BA151 for ; Fri, 11 Feb 2005 00:36:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16877-03 for ; Fri, 11 Feb 2005 00:36:21 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C46498B9B37 for ; Fri, 11 Feb 2005 00:36:23 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j1B0ZWnb004725; Thu, 10 Feb 2005 19:35:33 -0500 (EST) To: Seamus Thomas Carroll Cc: pgsql-interfaces@postgresql.org Subject: Re: Help with adding C-Language Functions In-reply-to: References: <27779.1108056673@sss.pgh.pa.us> <2358.1108068219@sss.pgh.pa.us> Comments: In-reply-to Seamus Thomas Carroll message dated "Thu, 10 Feb 2005 16:17:11 -0700" Date: Thu, 10 Feb 2005 19:35:32 -0500 Message-ID: <4724.1108082132@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/43 X-Sequence-Number: 5288 Seamus Thomas Carroll writes: > It compiles but when i try the LOAD command i get the following error: > ERROR: could not load library "/home/grads/.../BlackboardFunctions.so": > /home/grads/.../BlackboardFunctions.so: undefined symbol: _Z16pg_detoast_datumP7varlena extern "C" { ... } around all the Postgres include files, too, no doubt. You might wish to go and read some information about connecting C and C++, since you've obviously never done it before ;-) regards, tom lane