Re: STL problem in stored procedures

From: Zoltán Dudás <zoltan(dot)dudas(at)freemail(dot)hu>
To: Andreas Seltenreich <andreas+pg(at)gate450(dot)dyndns(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: STL problem in stored procedures
Date: 2005-10-25 11:02:58
Message-ID: 200510251302.58154.zoltan.dudas@freemail.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)dudas(at)sei(dot)hu
URL www.sei-it.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message William Yu 2005-10-25 11:31:02 Re: FoxPro in WINE to Postgresql on LINUX?
Previous Message Andreas Seltenreich 2005-10-25 10:32:35 Re: STL problem in stored procedures