[postgis-users] Compile problem on solaris11: Undefined symbol - isfinite

Phillip Ross phillip.w.g.ross+postgis-users at gmail.com
Fri Mar 7 12:42:23 PST 2014


Hello,

I continue to attempt to get postgis 2.1.1 built on Solaris 11.1, but I run
into problems during the linking stage for raster2pgsql.

The following error occurs:

libtool: link: gcc -m64 -fPIC -DPIC -Wall -Wmissing-prototypes -I../rt_core
-I../../liblwgeom -I/export/home/pgsql/pgsql/include
-I/export/home/pgsql/pgsql-9.3.3/include
-I/export/home/pgsql/pgsql-9.3.3/include raster2pgsql.o -m64 -o
.libs/raster2pgsql  ../rt_core/librtcore.a
../../liblwgeom/.libs/liblwgeom.so -L/export/home/pgsql/pgsql-9.3.3/lib
-L/export/home/pgsql/pgsql/lib
/export/home/pgsql/pgsql-9.3.3/lib/libproj.so
/export/home/pgsql/pgsql-9.3.3/lib/libjson-c.so
/export/home/pgsql/pgsql-9.3.3/lib/libgdal.so -L/usr/lib -lsqlite3 -lexpat
-ljpeg -lpng -lpq -lpthread -lrt -ldl -lcurl -lidn -lsldap -lldap -lsocket
-lnsl -lgss -lssl -lcrypto -lz -lxml2
/export/home/pgsql/pgsql-9.3.3/lib/libgeos_c.so
/export/home/pgsql/pgsql-9.3.3/lib/libgeos.so -lc -lm
-R/export/home/pgsql/pgsql/lib -R/export/home/pgsql/pgsql-9.3.3/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

I found a similar problem report here:
http://lists.osgeo.org/pipermail/postgis-tickets/2013-November/003188.html

As an expirement, I attempted the workaround listed there even though the
report is for RHEL5, but it doesn't workaround the problem on Solaris 11.1

Does anyone have any insight or suggestions of how to work around this
problem on Solaris?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140307/6248819f/attachment.html>


More information about the postgis-users mailing list