[postgis-users] Error installing postgis 2.1.2 on postgresql 9.2.8 on solaris 10 (x86)
Tambade, Kedar
ktambade at cghtech.com
Mon Apr 21 13:39:26 PDT 2014
Thank you Strk for the quick response... Following are the answers to your question
Does your libm have "isfinite" ?
No, " nm -D /usr/lib/libm.so | grep -i isfinite" did not return any result.
what's available function/macro to check for finiteness ?
did not understand what should I check, can you please let me know what exactly should I check.
Note that ./configure script should be checking for isfinite, defining or not a HAVE_ISFINITE macro in postgis/postgis_config.h What does it say ?
Postgis/postgis_config.h file does not contain HAVE_ISFINITE.
Thanks & Regards,
Kedar Tambade
-----Original Message-----
From: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Sandro Santilli
Sent: Friday, April 18, 2014 10:53 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Error installing postgis 2.1.2 on postgresql 9.2.8 on solaris 10 (x86)
On Thu, Apr 17, 2014 at 07:12:13PM +0000, Tambade, Kedar wrote:
>
> Hello all,
>
> While installating the postgis 2.1.2 on solaris 10 (5.10 Generic_147441-05 i86pc i386 i86pc), I am getting the following error while doing gmake can someone please help :
>
[..]
> libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes -I../rt_core -I../../liblwgeom -I/opt/postgres/gis928/include -I/opt/postgres/gis928/include -I/opt/postgres/gis928/include raster2pgsql.o -o .libs/raster2pgsql ../rt_core/librtcore.a -L/opt/postgres/gis928/lib ../../liblwgeom/.libs/liblwgeom.so -L/usr/sfw/lib /opt/postgres/gis928/lib/libproj.so /opt/postgres/gis928/lib/libjson.so /opt/postgres/gis928/lib/libgdal.so -L/usr/lib -L/usr/local/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB.4.7/lib -L/usr/local/mysql/lib -lpq -lrt -ldl -lxml2 -lz -lpthread -lsocket -lnsl /opt/postgres/gis928/lib/libgeos_c.so /opt/postgres/gis928/lib/libgeos.so /usr/sfw/lib/libstdc++.so -lgcc_s /usr/local/lib/libiconv.so -lm -R/usr/local/lib -R/opt/postgres/gis928/lib -R/usr/sfw/lib -R/usr/lib
> Undefined first referenced
> symbol in file
> isfinite ../../liblwgeom/.libs/liblwgeom.so
> ld: fatal: symbol referencing errors. No output written to
> .libs/raster2pgsql
> collect2: ld returned 1 exit status
> gmake[2]: *** [raster2pgsql] Error 1
> gmake[2]: Leaving directory `/opt/postgres/repository/postgresql_9.2.8/postgis-2.1.2/raster/loader'
[...]
> following is the gcc version:
>
> $ gcc --version
> gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Copyright (C) 2004
> Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There
> is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Does your libm have "isfinite" ?
Or what's available function/macro to check for finiteness ?
Note that ./configure script should be checking for isfinite, defining or not a HAVE_ISFINITE macro in postgis/postgis_config.h What does it say ?
Then there's code around the codebase using that macro to do different thing. Take a look. Patch is welcome once you figure out.
--strk;
() ASCII ribbon campaign -- Keep it simple !
/\ http://strk.keybit.net/rants/ascii_mails.txt
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list