[unixODBC-support] Unable to get isql working on AIX 7.1

Sundar Mahadevan sundarmahadevan82 at gmail.com
Fri Jan 22 14:34:13 GMT 2016

Hi Michael, Nick and all,
Thanks for the response. When i check listed of installed packages, i do
find libiconv installed. When i checked the first time, only
/usr/lib/libiconv.a existed. I then ran ar -x command and it created the
.so files which i renamed later as shown below (Not sure if it should be
done or not). I have /usr/lib in PATH and LIBPATH environment variables. I
am not sure what i am doing wrong. Any help is greatly appreciated.

dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT)> lslpp -L | grep -i conv
  bos.iconv.com        C     F    Common Language to
  bos.iconv.ucs.com    C     F    Unicode Base Converters
  bos.rte.iconv       C     F    Language Converters
                      A     F    RoCE Converged Network
  devices.ethernet.mlx.rte    A     F    RoCE Converged Network
                                                   Converged Network Adapter
                                                   Converged Network Adapter
                                                   Converged Network VF
  libiconv                    1.14-2    C     R    Character set conversion
                                                   library, portable iconv

root at omsa4103:SUPCON(/)> id
uid=0(root) gid=0(system)
root at omsa4103:SUPCON(/usr/lib)> cd /usr/lib
root at omsa4103:SUPCON(/usr/lib)> ar -x -X any libiconv.a
root at omsa4103:SUPCON(/usr/lib)> mv libiconv_64.so libiconv4_64.so
root at omsa4103:SUPCON(/usr/lib)> mv shr4.o libiconv4.so
root at omsa4103:SUPCON(/usr/lib)> mv shr.o libiconv.so
root at omsa4103:SUPCON(/usr/lib)> ln -s libiconv4_64.so libiconv4_64.so.2
root at omsa4103:SUPCON(/usr/lib)> ln -s libiconv4.so libiconv4.so.2
root at omsa4103:SUPCON(/usr/lib)> ln -s libiconv.so libiconv.so.2

dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT)> ls -l /usr/lib/*conv*
-r--r--r--    1 bin      bin          708498 Mar 14 2014
-rwxr-x---    1 root     system       215754 Jan 21 14:43
lrwxrwxrwx    1 root     system           11 Jan 21 14:53
/usr/lib/libiconv.so.2 -> libiconv.so
-rwxr-x---    1 root     system       215632 Jan 21 14:43
lrwxrwxrwx    1 root     system           12 Jan 21 14:53
/usr/lib/libiconv4.so.2 -> libiconv4.so
-rwxr-x---    1 root     system       273628 Jan 21 14:43
lrwxrwxrwx    1 root     system           15 Jan 21 14:53
/usr/lib/libiconv4_64.so.2 -> libiconv4_64.so
dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT)>

On Fri, Jan 22, 2016 at 7:42 AM, Michael König <
michael.koenig at blue-yonder.com> wrote:

> Hi!
> I am not familiar with AIX, but I suppose that either you have not
> installed the libiconv package or it is installed, but the .so file is
> located somewhere else. Try installing the package or try searching for
> libiconv and manipulate the library path.
> Cheers
> Michael
> Hi Nick,
>> Could you please advice on how to fix this issue? Should I fix PATH
>> variable or is it something else. Appreciate your help.
>> The driver manager has been built with iconv support, but at run time
>> cant load the libiconv library.
>> 0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2)
>> could not be loaded.
>> 0509-152 Member libiconv.so.2 is not found in archive
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20160122/78f07058/attachment.html>

More information about the unixODBC-support mailing list