Re: STL problem in stored procedures

Поиск
Список
Период
Сортировка
От Andreas Seltenreich
Тема Re: STL problem in stored procedures
Дата
Msg-id 87hdb5evjw.fsf@gate450.dyndns.org
обсуждение исходный текст
Ответ на STL problem in stored procedures  (Zoltán Dudás <zoltan.dudas@freemail.hu>)
Ответы Re: STL problem in stored procedures  (Zoltán Dudás <zoltan.dudas@freemail.hu>)
Список pgsql-general
Zoltán Dudás schrob:

> I have downloaded an extension for PostgreSql.
> It contains stored procedures written in C.
> I compiled the neccessary files into an so file
> and I tried to use the functions, but it gives
> an error message when it has to load the
> shared object file.
> The error message says, it cannot locate a symbol.
> I think this symbol is part of the C++ STL.

Yes, that's a member of the basic_string template and the string
class.

> This is the error message:
>
> psql:/usr/share/postgresql/contrib/proximity.sql:5: ERROR:  could not load
> library "/usr/lib/postgresql/proximity.so": /usr/lib/postgresql/proximity.so:
> undefined symbol: _ZNKSs17find_first_not_ofERKSsj
>
> What should I do to be able to use this extension?

It looks like your .so isn't linked to libstdc++. How exactly did you
compile and link the .so?

regards,
Andreas
--

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

Предыдущее
От: "Zlatko Matic"
Дата:
Сообщение: Re: [ANNOUNCE] PostgreSQL 8.1 Beta 4
Следующее
От: Zoltán Dudás
Дата:
Сообщение: Re: STL problem in stored procedures