[postgis-users] /usr/lib/pgsql/liblwgeom.so.1.0: undefined symbol: nth

strk at refractions.net strk at refractions.net
Mon May 2 11:47:42 PDT 2005


On Mon, May 02, 2005 at 08:39:03PM +0200, Lars Luthman wrote:
> On Mon, 2005-05-02 at 17:56 +0200, strk at refractions.net wrote:
> > On Mon, May 02, 2005 at 12:15:01PM +0200, Lars Luthman wrote:
> > > I have installed PostGIS 1.0 (using PostgreSQL 8.0.1, GEOS 2.1.1, and
> > > PROJ 4.4.9). When I try to run 'psql -f lwpostgis.sql -d ll' I get the
> > > following error message:
> > >  
> > > BEGIN
> > > psql:/usr/share/pgsql/contrib/lwpostgis.sql:35: NOTICE:  type
> > > "histogram2d" is not yet defined
> > > DETAIL:  Creating a shell type definition.
> > > psql:/usr/share/pgsql/contrib/lwpostgis.sql:35: ERROR:  could not load
> > > library
> > > "/usr/lib/pgsql/liblwgeom.so.1.0": /usr/lib/pgsql/liblwgeom.so.1.0:
> > > undefined symbol: nth
> > > psql:/usr/share/pgsql/contrib/lwpostgis.sql:40: ERROR:  current
> > > transaction is aborted, commands ignored until end of transaction block
> > > (lots and lots of lines similar to the last one)
> > >  
> > > createlang worked without problems. Any ideas?
> > 
> > The symbol 'nth' is a postgresql symbol IIRC.
> > Are you sure you run 'make clean' before building again
> > postgis ? Was your postgis source tree configured against 
> > an older postgresql version ? 
> 
> Yes, no. I tried building again without GEOS and that works.

So you did make clean, you never configured postgis against
a different-versioned postgresql source tree and it works
with GEOS disabled and give you unresolved 'nth' with geos enabled.
Correct?

Weird, I can find an 'nth' define under pgsql headers:
./src/include/nodes/pg_list.h:#define nth(n, list)                             list_nth(list, n)

But I cannot find any occurrence of 'nth' from within postgis
source tree or GEOS source tree.

Do you want to go deep ?

--strk;


> 
> -- 
> Lars Luthman
> PGP key:     http://www.d.kth.se/~d00-llu/pgp_key.php
> Fingerprint: FCA7 C790 19B9 322D EB7A  E1B3 4371 4650 04C7 7E2E



> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list