[unixODBC-support] how to compile unixODBC with the iconv library

Yu-Hui Jin yuhui.jin at gmail.com
Tue Mar 4 21:52:44 GMT 2008


Thanks, Nick.  It builds with iconv correctly now.


-Hui

On Mon, Mar 3, 2008 at 1:38 AM, Nick Gorham <nick.gorham at easysoft.com>
wrote:

> Yu-Hui Jin wrote:
>
> >Hi, there,
> >
> >I found there seems to be an iconv library installed along with ruby
> >binaries on my Linux box:
> >
> >/usr/local/lib/ruby/1.8/i686-linux/iconv.so
> >
> >The unixODBC's configure --help says by default --enable-iconv will be
> >turned on.  I'm curious how I can know whether the iconv lib is found and
> >used by unixODBC's configure command.
> >
> >
> >
> When running configure look at the output and see if it reports "Yes" to
> the checking for iconv message. After its built, see if the libodbc.so
> has a dependency on libicon.so using ldd
>
> >Another question is I see there are three related params for configure
> >command.  Do i have to add the --with-iconv-ucode-enc=enc  to configure
> as
> >well to enable iconv usage by unixODBC.
> >
> >  --enable-iconv          build with iconv support default=yes
> >  --with-iconv-char-enc=enc   Encoding to use as ASCII
> default=auto-search
> >  --with-iconv-ucode-enc=enc  Encoding to use as UNICODE
> default=auto-search
> >
> >It'll be great if you would point me to the right documentation on this.
> >
> >
> No, the encodings will default if not set.
>
> --
> Nick Gorham
> Easysoft Limited
> http://www.easysoft.com, http://www.unixODBC.org
>
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support
>



-- 
Regards,

-Hui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20080304/af38fd3a/attachment.html>


More information about the unixODBC-support mailing list