[postgis-users] Error installing postgis 2.1.2 on postgresql 9.2.8 on solaris 10 (x86)
Sandro Santilli
strk at keybit.net
Fri Apr 18 07:53:10 PDT 2014
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
More information about the postgis-users
mailing list