Re: Extending PostgreSQL Using C

From: Nishad Prakash <prakashn(at)uci(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hannu Krosing <hannu(at)tm(dot)ee>, Boulat Khakimov <boulat(at)inet-interactif(dot)com>, <pgsql-sql(at)postgresql(dot)org>, <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Extending PostgreSQL Using C
Date: 2001-03-07 18:54:43
Message-ID: Pine.GSO.4.30.0103071052410.4964-100000@e4e.oac.uci.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-sql

On Wed, 7 Mar 2001, Tom Lane wrote:

> Hannu Krosing <hannu(at)tm(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Bell 2001-03-08 09:45:25 404 that oughtn't?
Previous Message Tom Lane 2001-03-07 16:55:35 Re: Extending PostgreSQL Using C

Browse pgsql-sql by date

  From Date Subject
Next Message Rachel Coin 2001-03-07 19:06:48 work on rows
Previous Message chard 2001-03-07 18:18:32 help