AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

ODBC to DB2 on AIX

  • 1.  ODBC to DB2 on AIX

    Posted Mon November 04, 2013 04:49 AM

    Originally posted by: Electra_CBS


    Hi,

    I would like to create a ODBC connection from AIX 7.1 server to DB2 9.7. When I try to execute the below line, am getting error:

    ./configure --enable-drivers=no --enable-gui=no --prefix=/usr/local

    Error:

    configure: WARNING: unrecognized options: --enable-drivers, --enable-gui
    checking for a BSD-compatible install... config/install-sh -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... config/install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking whether make sets $(MAKE)... yes
    checking build system type... rs6000-ibm-aix
    checking host system type... rs6000-ibm-aix
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/usr/local/unixODBC2.3.2/libltdl':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.

    Attached is the config.log file for reference.

    Please advice.

     

    Thanks,

    Justin


    #AIX-Forum


  • 2.  Re: ODBC to DB2 on AIX

    Posted Mon November 11, 2013 06:17 PM

    Originally posted by: GarlandJoseph


    Similar issues are related to environment/compiler setup (not a full version of C compiler installed)

    Check for full version of C compiler (and not just runtime)

    What does the following show:

    $ lslpp -l | grep vac.*$ 
    $ lslpp -l | grep vacpp.*
    

    See

     
    http://www.ibm.com/developerworks/downloads/r/xlcplusaix/
    
     
    http://publib.boulder.ibm.com/infocenter/comphelp/v111v131/index.jsp?nav=%FF_27
    

    #AIX-Forum