Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f2CJvax54858 for ; Mon, 12 Mar 2001 14:57:36 -0500 (EST) (envelope-from pgsql-general-owner@postgresql.org) Received: from serv1.ilse.nl (serv1.ilse.nl [212.189.131.11]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f270lTx09761; Tue, 6 Mar 2001 19:47:29 -0500 (EST) (envelope-from mathijs@serv0.ilse.nl) Received: from serv0.ilse.nl (serv0.ilse.nl [212.189.131.10]) by serv1.ilse.nl (8.11.0/8.10.2) with ESMTP id f270lOE67679; Wed, 7 Mar 2001 01:47:24 +0100 (MET) Received: (from mathijs@localhost) by serv0.ilse.nl (8.11.1/8.11.1) id f270lN053352; Wed, 7 Mar 2001 01:47:23 +0100 (CET) (envelope-from mathijs) Date: Wed, 7 Mar 2001 01:47:23 +0100 From: Mathijs Brands To: Boulat Khakimov Cc: pgsql-general@postgresql.org, pgsql-sql@postgresql.org Subject: Re: [SQL] Undefined symbol Message-ID: <20010307014723.L51050@ilse.nl> References: <3AA5765F.75350FEA@inet-interactif.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AA5765F.75350FEA@inet-interactif.com>; from boulat@inet-interactif.com on Tue, Mar 06, 2001 at 06:44:31PM -0500 X-Unexpected-Header: The Spanish Inquisition X-Archive-Number: 200103/513 X-Sequence-Number: 6001 On Tue, Mar 06, 2001 at 06:44:31PM -0500, Boulat Khakimov allegedly wrote: > testdb=# select encode('bob','bob'); > ERROR: Load of file /home/boulat/Funio.com/database/encode.so failed: > /home/boulat/Funio.com/database/encode.so: undefined symbol: > BF_cfb64_encrypt > > thats the function that I call from inside my c code... > but Why??? It compiled with no errors or warning, and I have all the > right includes in my source code. > > Im confused! Are you linking against a blowfish library? If so, either include the encryption functions in your shared object, or load that shared object yourself. Have a look at the dlopen manpage for more information. I hope this helps a bit, Mathijs -- It's not that perl programmers are idiots, it's that the language rewards idiotic behavior in a way that no other language or tool has ever done. Erik Naggum