Problem creating a function

Поиск
Список
Период
Сортировка
От Cornelia Boenigk
Тема Problem creating a function
Дата
Msg-id 44BE5E64.7060409@cornelia-boenigk.de
обсуждение исходный текст
Ответы Re: Problem creating a function  (Joe Conway <mail@joeconway.com>)
Re: Problem creating a function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: MargaretGillon@chromalloy.com
Дата:
Сообщение: Re: Constraint for two fields unique any order
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Problem creating a function