From: | Andreas Seltenreich <andreas+pg(at)gate450(dot)dyndns(dot)org> |
---|---|
To: | Zoltán Dudás <zoltan(dot)dudas(at)freemail(dot)hu> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: STL problem in stored procedures |
Date: | 2005-10-25 10:32:35 |
Message-ID: | 87hdb5evjw.fsf@gate450.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
--
From | Date | Subject | |
---|---|---|---|
Next Message | Zoltán Dudás | 2005-10-25 11:02:58 | Re: STL problem in stored procedures |
Previous Message | Zlatko Matic | 2005-10-25 10:05:52 | Re: [ANNOUNCE] PostgreSQL 8.1 Beta 4 |