Problem creating a function

From: Cornelia Boenigk <c(at)cornelia-boenigk(dot)de>
To: Liste pg_general <pgsql-general(at)postgresql(dot)org>
Subject: Problem creating a function
Date: 2006-07-19 16:31:32
Message-ID: 44BE5E64.7060409@cornelia-boenigk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all

Trying to create a function I get the following:

codex=# CREATE FUNCTION "bitvg" (integer,integer) RETURNS integer AS
'/home/database/pgdata/cobis/bitvg/bitvg.so', 'bitvg' LANGUAGE 'C';
ERROR: could not load library
"/home/database/pgdata/cobis/bitvg/bitvg.so":
/home/database/pgdata/cobis/bitvg/bitvg.so: Kann die
Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

in english: /home/database/pgdata/cobis/bitvg/bitvg.so: cannot open
shared object: file not found

The file does exist in the path /home/database/pgdata/cobis/bitvg/:
-rwxr-xr-x 1 root root 133 Jul 19 13:13 bitvg.c
-rwxr-xr-x 1 root root 782 Jul 19 13:13 bitvg.o
-rwxr-xr-x 1 root root 3198 Jul 19 13:13 bitvg.so

What do I miss?

Thank's in advance
Conni
--
http://pgsql.info | http://postgresql.de | http://pgfakt.de
Telefon: 07127 80 961

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric Faulhaber 2006-07-19 16:33:24 Re: what step need to configure postgres for java application
Previous Message Roman Neuhauser 2006-07-19 16:27:06 Re: Messages to pgsql-general list not being posted