Re: Dynamic loading of C functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Dynamic loading of C functions
Дата
Msg-id 796.1150837747@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Dynamic loading of C functions  (Bill Moran <wmoran@collaborativefusion.com>)
Ответы Re: Dynamic loading of C functions  (Bill Moran <wmoran@collaborativefusion.com>)
Re: Dynamic loading of C functions  ("Jasbinder Bali" <jsbali@gmail.com>)
Список pgsql-general
Bill Moran <wmoran@collaborativefusion.com> writes:
> In response to "Jasbinder Bali" <jsbali@gmail.com>:
>> I get the follwing error
>> ERROR:  could not access file "/usr/include/pgsql/server/test_func": No such
>> file or directory

> Check the permissions.  Can the Postgres user read the file?

The error is pretty clearly "file not found", not "no permissions".

One possibility is that the complaint is not about this file itself
but about some other shared library it depends on.  Try "ldd" or
local equivalent on the file to see if it shows any unresolved
references.

Also, you might try looking in the postmaster log to see if any
additional info appears there --- anything the dynamic linker spit out
to stderr is not going to appear on your terminal.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: Dynamic loading of C functions
Следующее
От: Bill Moran
Дата:
Сообщение: Re: Dynamic loading of C functions