Re: [SQL] Undefined symbol

From: Mathijs Brands <mathijs(at)ilse(dot)nl>
To: Boulat Khakimov <boulat(at)inet-interactif(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Undefined symbol
Date: 2001-03-07 00:47:23
Message-ID: 20010307014723.L51050@ilse.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Christophe Boggio 2001-03-07 00:48:30 Re: INSERT ... RETURNING as Oracle
Previous Message adb 2001-03-07 00:40:57 Re: Request regarding logs

Browse pgsql-sql by date

  From Date Subject
Next Message Noodle 2001-03-07 01:30:24 Poor document!!
Previous Message Mathijs Brands 2001-03-07 00:09:46 Re: [SQL] Re: Re: MySQLs Describe emulator!