From: Nishad Prakash <prakashn@uci.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hannu Krosing <hannu@tm.ee>
Cc: Boulat Khakimov <boulat@inet-interactif.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-docs@postgresql.org
Subject: Re: Extending PostgreSQL Using C
Date: Wed, 7 Mar 2001 10:54:43 -0800 (PST)
Message-ID: <Pine.GSO.4.30.0103071052410.4964-100000@e4e.oac.uci.edu> (raw)
In-Reply-To: <9809.983984135@sss.pgh.pa.us>
On Wed, 7 Mar 2001, Tom Lane wrote:
> Hannu Krosing <hannu@tm.ee> writes:
> > Boulat Khakimov wrote:
> >> ERROR: Can't find function encrypt in file /[full path here]/encrypt.so
>
> > Can _postgres_ user read /[full path here]/encrypt.so ?
>
> Presumably so. If he were unable to load the .so file, he'd be getting
> a different error message. This message indicates that he got past the
> load step, but dl_sym is unable to resolve the symbol "encrypt".
>
> I asked about the symbol names shown by nm(1), but got no answer ...
It should be noted that encrypt() is a function already declared in
unistd.h, which the OP is including. Could that be causing some problem
since the OP is using the same name?
Nishad
--
"Underneath the concrete, the dream is still alive" -- Talking Heads
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: prakashn@uci.edu, tgl@sss.pgh.pa.us, hannu@tm.ee, boulat@inet-interactif.com, pgsql-docs@postgresql.org
Subject: Re: Extending PostgreSQL Using C
In-Reply-To: <Pine.GSO.4.30.0103071052410.4964-100000@e4e.oac.uci.edu>
References: <9809.983984135@sss.pgh.pa.us> <Pine.GSO.4.30.0103071052410.4964-100000@e4e.oac.uci.edu>
* 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