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

Sundar Mahadevan sundarmahadevan82 at gmail.com
Fri Jan 22 14:53:24 GMT 2016


Hi Nick,
Thanks for the quick response. The following are the commands, i used to
install the driver manager with the 64 bit flags set. While running
/usr/bin/make i got gcc: unrecognized option '-q64'. I am not sure if it
was critical since i did not see any error when i ran /usr/bin/make install

dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> export CC=gcc
dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> export
CFLAGS="-maix64 -q64 -DBUILD_REAL_64_BIT_MODE"
dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> export
OBJECT_MODE=64
dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)>
/u13/app/DBCLIENT/unixODBC-2.3.4/configure
--prefix=/home/oracle/bin/UnixOdbcDriverManager --enable-gui=no
--enable-drivers=no

no errors for the above command

dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> /usr/bin/make

gcc: unrecognized option '-q64'
SQLSetEnvAttr.c: In function 'SQLSetEnvAttr':
SQLSetEnvAttr.c:201: warning: cast from pointer to integer of different size
.
.
gcc: unrecognized option '-q64'
libtool: link: ar cru .libs/libodbccr.a .libs/libodbccr.so.2
libtool: link: ( cd ".libs" && rm -f "libodbccr.la" && ln -s "../
libodbccr.la" "libodbccr.la" )

ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-224 WARNING: Duplicate symbol: .memmove

Target "all" is up to date.
Making all in DRVConfig
Target "all-am" is up to date.
Target "all" is up to date.
Making all in Drivers
Target "all-am" is up to date.
Target "all" is up to date.
Making all in include
Target "all" is up to date.
Making all in doc
Making all in AdministratorManual
Target "all" is up to date.
Making all in ProgrammerManual
Making all in Tutorial
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in UserManual
Target "all" is up to date.
Making all in lst
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in man
Target "all" is up to date.
Making all in samples
Target "all" is up to date.
Target "all-am" is up to date

dbclient at omsa4103:SUPCON(/u13/app/DBCLIENT/unixODBC-2.3.4)> /usr/bin/make
install

Target "install" is up to date.

No errors reported for the above command. Please let me know if uploading
my installation log file somewhere and providing a link can assist in any
way. Thanks again for your assistance.


On Fri, Jan 22, 2016 at 9:36 AM, Nick Gorham <nick at lurcher.org> wrote:

> On 22/01/16 14:34, Sundar Mahadevan wrote:
>
>> 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.
>>
>
> Normally AIX will load the .so from the .a, but I would check that your
> driver manager is built 64 bit, if its 32 bit them it will find the lib,
> but not load the 64 bit components it contains.
>
> --
> Nick
>
> _______________________________________________
> 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/41e96224/attachment-0001.html>


More information about the unixODBC-support mailing list