<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>Hi 
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=053474403-15012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>I have a Solaris 10 
build of PostGIS, but so far I've had to disable unicode support 
(--without-unicode).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=053474403-15012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>The issue seems 
pretty close to the one described in this mapserver 
ticket, </SPAN></FONT><FONT face=Arial size=2><SPAN 
class=053474403-15012009><A 
href="http://trac.osgeo.org/mapserver/ticket/1017">http://trac.osgeo.org/mapserver/ticket/1017</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=053474403-15012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>That is, my 
build seems to be finding the Sun library or headers, which (according 
to the Mapserver ticket) do not implement UTF-8.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>It should (I think) 
be using the GNU libiconv is in /usr/local/, which does implement UTF-8. I 
have "iconv.h" in /usr/include/</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>and 
/usr/local/include/. That or some other sort of confusion between the 
two.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=053474403-15012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>So far I haven't 
been able to find a configure option that will allow me to specifiy use of the 
correct iconv. Has anyone</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>else encountered 
this and/or have any ideas on how it could be resolved?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=053474403-15012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=053474403-15012009>Other than that, my 
non-unicode version seems to be working OK.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=053474403-15012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=053474403-15012009>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=053474403-15012009><BR>Antti</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Courier New">gcc -g -Wall -I.. 
-DUSE_ICONV -DUSE_VERSION=83 -DPOSTGIS_VERSION='"1.3.5"'   -c -o 
shp2pgsql.o shp2pgsql.c<BR>shp2pgsql.c: In function 
`ParseCmdline':<BR>shp2pgsql.c:1325: warning: implicit declaration of function 
`pgis_getopt'<BR>shp2pgsql.c: In function `utf8':<BR>shp2pgsql.c:1812: warning: 
passing arg 2 of `libiconv' from incompatible pointer type<BR>gcc -g -Wall -I.. 
-DUSE_ICONV -DUSE_VERSION=83 -DPOSTGIS_VERSION='"1.3.5"' shpopen.o dbfopen.o 
getopt.o shp2pgsql.o  -o shp2pgsql 
<BR>Undefined                       
first 
referenced<BR> symbol                             
in 
file<BR>libiconv_close                      
shp2pgsql.o<BR>libiconv_open                       
shp2pgsql.o<BR>libiconv                            
shp2pgsql.o<BR>ld: fatal: Symbol referencing errors. No output written to 
shp2pgsql</FONT><BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P><br/>------<br/>IMPORTANT - This message has been issued by The Department of Agriculture, Fisheries and Forestry (DAFF). The information transmitted is for the use of the intended recipient only and may contain sensitive and/or legally privileged material. It is your responsibility to check any attachments for viruses and defects before opening or sending them on. <br><br>Any reproduction, publication, communication, re-transmission, disclosure, dissemination or other use of the information contained in this e-mail by persons or entities other than the intended recipient is prohibited. The taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error please notify the sender and delete all copies of this transmission together with any attachments. If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one advise the sender by return e-mail accordingly. Only e-mail correspondence which includes this footer, has been authorised by DAFF 
<br/>------<br/>
</P></BODY></HTML>