Re: [INTERFACES] Creating a C Function

From: "Roderick A(dot) Anderson" <raanders(at)altoplanos(dot)net>
To: Postgres Interface List <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] Creating a C Function
Date: 1998-07-04 14:26:47
Message-ID: Pine.LNX.3.95.980704072338.25555D-100000@altoplanos.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Fri, 3 Jul 1998, Screech wrote:

> I am trying to create a function using C, but I am having trouble getting
> Postgres to execute it. If I call the function from a C program, it works
> fine, but pgsql gives me this:
>
> ERROR: Load of file /usr/local/pgsql/obj/gen_username.so failed: Unable
> to resolve symbol

Is '/usr/local/pgsql/obj/' in the library path for your system? Try
copying gen_username.so to '/lib' or '/usr/lib' (probably the second is
the best).
This is a quick SWAG.

Rod
--
Roderick A. Anderson
raanders(at)altoplanos(dot)net Altoplanos Information Systems, Inc.
Voice: 208.765.6149 212 S. 11th Street, Suite 5
FAX: 208.664.5299 Coeur d'Alene, ID 83814

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message leif 1998-07-04 15:02:00 Re: [INTERFACES] ODBC on unix?
Previous Message Stephan Doliov 1998-07-03 23:06:10 Re: [GENERAL] data entry forms