Re: STL problem in stored procedures - Mailing list pgsql-general

From Zoltán Dudás
Subject Re: STL problem in stored procedures
Date
Msg-id 200510251302.58154.zoltan.dudas@freemail.hu
Whole thread Raw
In response to Re: STL problem in stored procedures  (Andreas Seltenreich <andreas+pg@gate450.dyndns.org>)
Responses Re: STL problem in stored procedures
List pgsql-general
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_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?

I use a very simple makefile which is from the PostgreSql documentation.

Makefile:

OBJS = pg_prox.o proximity.o ../common/pg_utils.o
MODULE_big = proximity
DATA_built = proximity.sql
DOCS = README.proximity

PGXS := $(shell pg_config --pgxs)
include $(PGXS)

- end of makefile -

Regards,

Zoli

--
Zoltan Dudas
Software Engineer
SEI Hungary
Office  +36-52-889-532 Ext: 2032
Fax     +36-52-889-599
Email   zoltan.dudas@sei.hu
URL     www.sei-it.com


pgsql-general by date:

Previous
From: Andreas Seltenreich
Date:
Subject: Re: STL problem in stored procedures
Next
From: William Yu
Date:
Subject: Re: FoxPro in WINE to Postgresql on LINUX?