pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mathijs Brands <mathijs@ilse.nl>
To: Boulat Khakimov <boulat@inet-interactif.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Undefined symbol
Date: Wed, 7 Mar 2001 01:47:23 +0100
Message-ID: <20010307014723.L51050@ilse.nl> (raw)
In-Reply-To: <3AA5765F.75350FEA@inet-interactif.com>
References: <3AA5765F.75350FEA@inet-interactif.com>

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



view thread (3+ messages)  latest in thread

Message-ID: <20010307014723.L51050@ilse.nl>
Permalink:  ../20010307014723.L51050@ilse.nl/
Also on:    postgresql.org/message-id/20010307014723.L51050@ilse.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: mathijs@ilse.nl, boulat@inet-interactif.com, pgsql-general@postgresql.org
  Subject: Re: [SQL] Undefined symbol
  In-Reply-To: <20010307014723.L51050@ilse.nl>
  References: <3AA5765F.75350FEA@inet-interactif.com> <20010307014723.L51050@ilse.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox