Received: from e4e.oac.uci.edu (e4e.oac.uci.edu [128.200.222.10]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f27ItFx95576; Wed, 7 Mar 2001 13:55:15 -0500 (EST) (envelope-from prakashn@uci.edu) Received: from localhost (prakashn@localhost) by e4e.oac.uci.edu (8.9.3/8.9.3) with ESMTP id KAA05978; Wed, 7 Mar 2001 10:54:43 -0800 (PST) X-Authentication-Warning: e4e.oac.uci.edu: prakashn owned process doing -bs Date: Wed, 7 Mar 2001 10:54:43 -0800 (PST) From: Nishad Prakash X-Sender: Reply-To: To: Tom Lane cc: Hannu Krosing , Boulat Khakimov , , Subject: Re: Extending PostgreSQL Using C In-Reply-To: <9809.983984135@sss.pgh.pa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/43 X-Sequence-Number: 474 On Wed, 7 Mar 2001, Tom Lane wrote: > Hannu Krosing 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