Problem creating a function - Mailing list pgsql-general

From Cornelia Boenigk
Subject Problem creating a function
Date
Msg-id 44BE5E64.7060409@cornelia-boenigk.de
Whole thread Raw
Responses Re: Problem creating a function  (Joe Conway <mail@joeconway.com>)
Re: Problem creating a function  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-general by date:

Previous
From: MargaretGillon@chromalloy.com
Date:
Subject: Re: Constraint for two fields unique any order
Next
From: Joe Conway
Date:
Subject: Re: Problem creating a function