Skip to Main Content
IBM Data and AI Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:


Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,


Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at https://ideas.ibm.com


300 VOTE
Status Delivered
Workspace Db2
Created by Guest
Created on Apr 5, 2022

Apple Silicon / M1 / M2 / M3 Support for IBM ODBC/CLI Driver

As a developer on macOS with an Apple Silicon chip, I want to use the IBM ODBC/CLI Driver (downloadable from here) natively. Emulating is possible but since I am using this driver via Python, all my other Python code now needs to run emulated as well.

Background: I am connecting with an IBM DB2 database via a Python app, using the
python-ibmdb library. There is a corresponding issue on their GitHub repository but the root cause of not being able to use python-ibmdb is that the IBM ODBC/CLI Driver is not compiled for Apple Silicon / ARM architecture.

Further background:
M1 has been around for a year and is now the default architecture for new Macs. More and more people are getting Apple Silicon Macs so this issue will not go away but rather become more pressing over time.

Needed By Yesterday (Let's go already!)
  • Guest
    Reply
    |
    Dec 27, 2024

    i troud hard to enable Excel to use the ODBC-Drivers, but at one point, i am stuck: after opening the iodbc-Admin 64 i can't find nor add any driver.

    What i did: install the IBM-Driver-Package...macarm64_odbc_cli.tar.gz, extracted and started CLI_Driver.
    Also i installed the recommended Unix-ODBC-Driver-Package using brew.

    But: i cannot find the file odbc.ini and even if i could, i do not now what to enter in there.
    Anyone out here already working with it?

    1 reply
  • Guest
    Reply
    |
    Dec 26, 2024

    Installing through pip on the M4Pro processor resulted in a failure when importing ibm_db,

    Error message: Symbol not found: _SQLAllocHandle

    What preparations do I need?

    1 reply
  • Guest
    Reply
    |
    Dec 20, 2024

    Thanks for updating the pypi package!
    https://pypi.org/project/ibm-db/

  • Guest
    Reply
    |
    Dec 19, 2024

    Love it!

  • Guest
    Reply
    |
    Dec 19, 2024

    Driver packages downloadable at the link below (eg. macarm64_odbc_cli.tar) include libdb2.dylib but not libdb2o.dylib which historically has been a 64bit version required for interfacing with 64bit unixodbc builds. libdb2 works with ibm_db Python and seemingly pyodbc fine, but does not work with arrow-odbc (segfault), turbodbc (bad data). I found libdb2o in a dsdriver package (v12.1.0_macos_dsdriver.dmg) and it does work with arrow-odbc and turboodbc as expected (which are much faster for certain applications). Will you package libdb2o in the macarm64_odbc_cli.tar release as well? Those releases are automatically installed with ibm_db into site-packages/clidriver which makes them easy to get and consistently reference within Python code. https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/

    1 reply
  • Guest
    Reply
    |
    Dec 3, 2024

    Amazing! Thanks @Vijaya.

    Does anyone have a direct link to the 64bit ODBC arm64 driver? I can't seem to find it on fixcentral

  • Guest
    Reply
    |
    Dec 2, 2024

    Hi,

    I see the status changed to delivered and we are able to use the nodeJs module. Thanks a lot!

    However, the python libary is still from march 23 - can you please also update the pip module to 3.3.0?

    Thanks in advance

  • Guest
    Reply
    |
    Nov 19, 2024

    We are planning to release ARM support for open source drivers including python packages in pypi by Jan 2025 or before.

  • Guest
    Reply
    |
    Nov 18, 2024

    Thanks Vijaya, perhaps a silly question, but how can folks test the development release, whilst we wait for it to be made generally available ? Thanks in advance, Dave


  • Admin
    VIJAYA KATIKIREDDY
    Reply
    |
    Nov 18, 2024

    Will leave it in "Development" until open source drivers are updated.

  • Guest
    Reply
    |
    Nov 15, 2024

    Hi,
    thanks for delivering. Any plans for updating the Python packages on pypi?

  • Guest
    Reply
    |
    Nov 15, 2024

    Only ARM driver binaries are available for MAC from 12.1 release. So one can use 12.1 driver binaries for ARM architecture machines(M1/M2/M3) and 11.5 driver binaries for INTEL architecture machines. On November 14th 2024, all drivers except open source drivers(Python, Go, Node.js etc) for 12.1 are released. Open Source drivers also will be released in sometime as it will have the work of uploading the 12.1 ARM odbc/cli binaries for opensource and building the open source drivers with arm64 odbc/cli binaries.

  • Guest
    Reply
    |
    Nov 15, 2024

    I have downloaded the new Db2 12.1 Data Server Driver for macOS.

    While I am happy to report that it works on a Mac with an M1 chip, it looks like IBM didn't build universal binaries – so the drivers support ONLY M1 chips.  Developers working on currently supported machines using Intel chips (like a 2019 MacBook Pro) will be out of luck:
     

    $ sw_vers
    ProductName:		macOS
    ProductVersion:		15.1
    BuildVersion:		24B83
    
    
    $ /tmp/clidriver/bin/db2level
    -bash: /tmp/clidriver/bin/db2level: Bad CPU type in executable
    
    
    $ file /tmp/clidriver/bin/db2level
    /tmp/clidriver/bin/db2level: Mach-O 64-bit executable arm64

     

    2 steps forward, 1 step back.  <sigh>

  • Guest
    Reply
    |
    Nov 14, 2024

    I am still not able to download the Python Library to connect to DB2 on my Mac. Link shared by you is only for ODBC connection. Above idea was rasied for the same. but look like it is still not addressed


    Attaching the error i am getting while install IBM_DB package



    ╰─ pip install ibm_db ─╯
    Collecting ibm_db
    Downloading ibm_db-3.2.3.tar.gz (210 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.2/210.2 kB 1.9 MB/s eta 0:00:00
    Installing build dependencies ... done
    Getting requirements to build wheel ... error
    error: subprocess-exited-with-error

    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> [2 lines of output]
    Detected 64-bit Python
    Arm64 architecture is not supported. Please install intel-only (x64) version of python and then install ibm_db.
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error

    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> See above for output.

    note: This error originates from a subprocess, and is likely not a problem with pip.

    4 replies
  • Admin
  • Guest
    Reply
    |
    Nov 14, 2024

    Where can i download this new db2 odbc/cli driver from? (can't see new Nov 14 release of driver yet, just older ones).
    Can't wait to try it!

  • Guest
    Reply
    |
    Nov 14, 2024

    I'm having trouble finding the new 12.1 driver. I think new drivers are not available at https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/ . Please share a link where I can download the driver.

  • Guest
    Reply
    |
    Nov 14, 2024

    Vijaya, I still don't see the apple Silicon driver released with the GA. If possible please share the link for Python Driver

  • Admin
    VIJAYA KATIKIREDDY
    Reply
    |
    Nov 14, 2024

    Db2 12.1 is released today as committed.

  • Guest
    Reply
    |
    Nov 14, 2024

    I still dont see the driver supporting this on MacOS running on Apple sillicon. I waited for 14 Nov, but looks like IBM is yet to release it. Any link from where we can download this?

  • Load older comments