[unixODBC-support] how to compile unixODBC with the iconv library
nick.gorham at easysoft.com
Mon Mar 3 09:38:06 GMT 2008
Yu-Hui Jin wrote:
>I found there seems to be an iconv library installed along with ruby
>binaries on my Linux box:
>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.
More information about the unixODBC-support