Re: [DOCS] Extending PostgreSQL Using C

Поиск
Список
Период
Сортировка
От Nishad Prakash
Тема Re: [DOCS] Extending PostgreSQL Using C
Дата
Msg-id Pine.GSO.4.30.0103071052410.4964-100000@e4e.oac.uci.edu
обсуждение исходный текст
Ответ на Re: [DOCS] Extending PostgreSQL Using C  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Kevin T. Manley \(Home\)"
Дата:
Сообщение: Re: SQL problem
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re:Comparing Dates