<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Hello all,<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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 :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">gmake -C loader<o:p></o:p></p>
<p class="MsoNormal">gmake[2]: Entering directory `/opt/postgres/repository/postgresql_9.2.8/postgis-2.1.2/raster/loader'<o:p></o:p></p>
<p class="MsoNormal">/bin/bash ../../libtool --mode=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 ../rt_core/librtcore.a
raster2pgsql.o -L/opt/postgres/gis928/lib -R/usr/sfw/lib -R/usr/local/lib -R/usr/lib -R/opt/postgres/gis928/lib ../../liblwgeom/liblwgeom.la -L/opt/postgres/gis928/lib -lgdal -L/opt/postgres/gis928/lib -lgeos_c -liconv -lm -o raster2pgsql<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">Undefined first referenced<o:p></o:p></p>
<p class="MsoNormal">symbol in file<o:p></o:p></p>
<p class="MsoNormal">isfinite ../../liblwgeom/.libs/liblwgeom.so<o:p></o:p></p>
<p class="MsoNormal">ld: fatal: symbol referencing errors. No output written to .libs/raster2pgsql<o:p></o:p></p>
<p class="MsoNormal">collect2: ld returned 1 exit status<o:p></o:p></p>
<p class="MsoNormal">gmake[2]: *** [raster2pgsql] Error 1<o:p></o:p></p>
<p class="MsoNormal">gmake[2]: Leaving directory `/opt/postgres/repository/postgresql_9.2.8/postgis-2.1.2/raster/loader'<o:p></o:p></p>
<p class="MsoNormal">gmake[1]: *** [rtloader] Error 2<o:p></o:p></p>
<p class="MsoNormal">gmake[1]: Leaving directory `/opt/postgres/repository/postgresql_9.2.8/postgis-2.1.2/raster'<o:p></o:p></p>
<p class="MsoNormal">gmake: *** [all] Error 1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">following is the gcc version:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">$ gcc --version<o:p></o:p></p>
<p class="MsoNormal">gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)<o:p></o:p></p>
<p class="MsoNormal">Copyright (C) 2004 Free Software Foundation, Inc.<o:p></o:p></p>
<p class="MsoNormal">This is free software; see the source for copying conditions. There is NO<o:p></o:p></p>
<p class="MsoNormal">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria","serif";color:black">Thanks in advance…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria","serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria","serif";color:black">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria","serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Cambria","serif";color:black">Kedar.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>