Re: [DOCS] Extending PostgreSQL Using C - Mailing list pgsql-sql

From Nishad Prakash
Subject Re: [DOCS] Extending PostgreSQL Using C
Date
Msg-id Pine.GSO.4.30.0103071052410.4964-100000@e4e.oac.uci.edu
Whole thread Raw
In response to Re: [DOCS] Extending PostgreSQL Using C  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
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



pgsql-sql by date:

Previous
From: "Kevin T. Manley \(Home\)"
Date:
Subject: Re: SQL problem
Next
From: "Josh Berkus"
Date:
Subject: Re:Comparing Dates