[GENERAL] STL problem in stored procedures

2005-10-24 Thread Zoltán Dudás
Hi All, 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

Re: [GENERAL] STL problem in stored procedures

2005-10-25 Thread Zoltán Dudás
On Tuesday 25 October 2005 12.32, Andreas Seltenreich wrote: > > 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_fir

Re: [GENERAL] STL problem in stored procedures

2005-10-25 Thread Zoltán Dudás
Hi, > > It looks like your .so isn't linked to libstdc++. How exactly did you > > compile and link the .so? I attached output of the "make -n". Regards, Zoli -- Zoltan Dudas Software Engineer SEI Hungary Office +36-52-889-532 Ext: 2032 Fax +36-52-889-599 Email [EMAIL PROTECTED] URL

Re: [GENERAL] STL problem in stored procedures

2005-10-25 Thread Zoltán Dudás
Hi, On Tuesday 25 October 2005 14.34, Martijn van Oosterhout wrote: > I notice other contrib modules include lines like: > > SHLIB_LINK = $(libpq) > SHLIB_LINK += $(filter -lm, $(LIBS)) > SHLIB_LINK = -lxml2 -lxslt > > Perhaps you need a: > > SHLIB_LICK = -lstl > > or whatever the lib is called.