Re: Explicit LOAD and dynamic library loading

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Explicit LOAD and dynamic library loading
Дата
Msg-id 8521.1371092903@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Explicit LOAD and dynamic library loading  (Stephen Scheck <singularsyntax@gmail.com>)
Ответы Re: Explicit LOAD and dynamic library loading  (Stephen Scheck <singularsyntax@gmail.com>)
Список pgsql-general
Stephen Scheck <singularsyntax@gmail.com> writes:
> However, whenever I run one of the UDTs defined in bar, I get this error
> message:

> dev=# SELECT * FROM test1 WHERE (info(bar_dat)).some_prop = 10;
> ERROR:  could not load library
> "/vol/data/home/postgres/pg-builds/9.2.4/lib/bar.so":
> /vol/data/home/postgres/pg-builds/9.2.4/lib/bar.so: undefined symbol:
> foo_func1

I'm betting an rpath problem.  Is this a Linux-oid system?  What does
"ldd /vol/data/home/postgres/pg-builds/9.2.4/lib/bar.so" say?  Is there
any option to set rpath in the link command for bar.so?

            regards, tom lane


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

Предыдущее
От: chuydb
Дата:
Сообщение: Re: Get multiple columns with counts from one table.
Следующее
От: Stephen Scheck
Дата:
Сообщение: Re: Explicit LOAD and dynamic library loading