1Building unixODBC on Solaris 2---------------------------- 3 4This should just work, however I have had the following helpfull 5hints sent to me by David Brown of Starquest. The suggested change 6has been made to the code in __info.c 7 8"Last fall, I had problems running on Solaris 7, because my system did have 9an iconv conversion between ISO8859-1 and UCS-2. 10 11I discovered two things: 12 13* the missing iconv tables are available by a patch for Solaris 7 (there is 14also a corresponding patch for Solaris 8, that fixes a lot in this area - 15seems recommended to use that as well) 16 17* Solaris uses the name 8859-1 in its tables rather than ISO8859-1 or 18ISO-8859-1. 19 20 21So what I've done is: 22 231) make the following change to DriverManager/__info.c: 24 25diff __info.c __info.c.orig 26385c385 27< char *asc[] = { "char", "ISO8859-1", "ISO-8859-1", "8859-1", "ASCII", NULL 28 }; 29 --- 30 31 >> char *asc[] = { "char", "ISO8859-1", "ISO-8859-1", "ASCII", NULL }; 32 33 2) tell customers to apply the following Solaris patches: 34 35 Solaris 7: 36 Patch-ID# 112689-02 37 Keywords: UTF-8 ICONV 38 Synopsis: SunOS 5.7: UTF-8 locale ICONV patch 39 Date: Aug/28/2002 40 41 Solaris 8: 42 Patch-ID# 113261-01 43 Keywords: UTF-8 ICONV 44 Synopsis: SunOS 5.8: UTF-8 locale ICONV patch 45 Date: Oct/11/2002 46 47 this has since been superceded by 11326-02, but I think unixODBC should 48 function fine with 113261-01 49 50 Patch-ID# 113261-02 51 Keywords: UTF-8 ICONV 52 Synopsis: SunOS 5.8: UTF-8 locale ICONV patch 53 Date: Feb/21/2003" 54