[geos-devel] Re: [postgis-users] Error compiling PostGIS + GEOS

Chip Masters chip_masters at yahoo.com
Tue Jun 21 15:45:51 PDT 2005


We did compile GEOS (PostgreSQL and PostGIS as well)
with GCC 3.4.3. 

--- strk at refractions.net wrote:

> I recall something like GCC-3.4 having an ABI
> compatibility problem for C++
> code compiled with previous versions.
> Can you try recompiling GEOS with the new compiler ?
> 
> --strk;
> 
> On Tue, Jun 21, 2005 at 09:28:01AM -0700, Chip
> Masters wrote:
> > --- Mark Cave-Ayland
> <m.cave-ayland at webbased.co.uk>
> > wrote:
> > 
> > >  
> > > 
> > > > -----Original Message-----
> > > > From:
> > > postgis-users-bounces at postgis.refractions.net 
> > > >
> > >
> >
>
[mailto:postgis-users-bounces at postgis.refractions.net]
> > > On 
> > > > Behalf Of strk at refractions.net
> > > > Sent: 21 June 2005 10:19
> > > > To: 'PostGIS Users Discussion'; 'GEOS
> Development
> > > List'
> > > > Subject: Re: [geos-devel] Re: [postgis-users]
> > > Error compiling 
> > > > PostGIS + GEOS
> > > > 
> > > > 
> > > > On Tue, Jun 21, 2005 at 09:41:36AM +0100, Mark
> > > Cave-Ayland wrote: ...
> > > > > Could you write a script using 'nm' that
> would
> > > find the 
> > > > symbol, e.g. 
> > > > > the following works but is not recursive
> (you
> > > could probably solve 
> > > > > this with some bash scripting):
> > > > > 
> > > > > nm --dynamic /usr/lib/* | grep
> '__builtin_new'
> > > > 
> > > > # find <root> -type f -name '*so' | xargs nm 
> > > > --print-file-name --dynamic 2> /dev/null |
> grep
> > > __builtin_new
> > > > 
> > > > I find many 'U'ndefined, few 'T'ext
> > > (libflashplayer) and 
> > > > 'W'eak symbols, one of which in libstdc++
> > > > 
> > > >
> /usr/lib/libstdc++-3-libc6.1-2-2.10.0.so:000264b0
> > > W __builtin_new
> > > > 
> > > > No symbols in my GCC 3.4.3 root!
> > > > 
> > > > --strk;
> > > 
> > > 
> > > Hmmm, me neither :(
> > > 
> > > It seems to suggest a broken compiler or
> > > installation - perhaps one of the
> > > libraries upon which PostGIS depends has been
> > > installed from a binary
> > > RPM/package compiled from a different version of
> gcc
> > > which shows up this
> > > particular bug? It may be worth checking if Chip
> has
> > > manually compiled and
> > > installed all the relevant libraries on the same
> > > machine.
> > > 
> > > 
> > > Kind regards,
> > > 
> > > Mark.
> > > 
> > > ------------------------
> > > WebBased Ltd
> > > 17 Research Way
> > > Tamar Science Park
> > > Plymouth
> > > PL6 8BT 
> > > 
> > > T: +44 (0)1752 797131
> > > F: +44 (0)1752 791023
> > > W: http://www.webbased.co.uk
> > > 
> > 
> > Hi Mark,
> > 
> > I asked our system administrator to look into the
> > library configuration on cyc11, where we are
> trying to
> > install postgis, and here's his response:
> > 
> > > Yes, pretty much all of the libraries were
> installed
> > > from RedHat 7.1 rpms. The only thing we built by
> > hand 
> > > was gcc 3.4.3.  Running their script yields the 
> > > following results (with all of the
> mozilla/plugin 
> > > libraries snipped)
> > >
> > > /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so:000311c0
> W 
> > > __builtin_new
> > > /usr/lib/libdb_cxx-3.1.so:000777b4 W
> __builtin_new
> > >
> /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so:000271d4 W 
> > > __builtin_new
> > 
> > We have the option of upgrading our OS to SuSE
> 9.2,
> > which we would be required to do if fixing this
> > problem involves recompiling the standard C/C++
> > libraries. Do you have any reason to believe that
> > later versions of the shared libraries might not
> > exhibit this problem?
> > 
> > Thanks again for everyone's help.
> > 
> > Chip
> > 
> > 
> > 
> > 
> > 		
> > __________________________________ 
> > Yahoo! Mail 
> > Stay connected, organized, and protected. Take the
> tour: 
> > http://tour.mail.yahoo.com/mailtour.html 
> > 
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> >
>
http://postgis.refractions.net/mailman/listinfo/postgis-users
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
>
http://geos.refractions.net/mailman/listinfo/geos-devel
> 





		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com



More information about the postgis-users mailing list