Power

 View Only
  • 1.  ODBC install on AIX

    Posted 06/12/23 09:33 AM

    Hello,

    I am trying to install ODBC for AIX version 2.3.9, however, it is failing at configure.
    AIX is at 7.2 TL4 SP3.

    I get the following error message:

    $./configure --prefix=/usr/local/unixODBC
    checking for a BSD-compatible install... ./install-sh -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... ./install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking for gawk... (cached) nawk
    checking for bison... no
    checking for byacc... no
    checking for style of include used by make... GNU
    checking for gcc... gcc-8
    checking whether the C compiler works... no
    configure: error: in `/tmp/odbc/new/unixODBC-2.3.9':
    configure: error: C compiler cannot create executables
    See `config.log' for more details

    ===

    Is it necessary to have gcc to have ODBC installed, can I bypass this somehow?
    How do get beyond this point of the C Compiler not being able to create executables. 
    ===

    Thanks
    Raga



    ------------------------------
    Raga Chandra
    ------------------------------


  • 2.  RE: ODBC install on AIX

    Posted 06/12/23 10:27 PM

    Dear Raga

    Have you made use of information from this IBM Technote ?  AIX Open Source Tip: Useful tips for unixODBC at  https://www.ibm.com/support/pages/aix-open-source-tip-useful-tips-unixodbc



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------