You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i.e. change current path of `libstdc++.6.dylib` in `libdb2.dylib` library to the corrent path in your system. You can find the path of `libstdc++.6.dylib` in libdb2.dylib using the command : `otool -L libdb2.dylib`. Once you have the path of libstdc++.6.dylib, you need to change it using the commond: `install_name_tool -change <current path in libdb2.dylib> <actual path in your system> libdb2.dylib`
353
358
Now run your test program and verify.
354
359
355
-
# M1 MAC Steps to Install IBM DB and Support Docker RUN
356
-
## Installation Steps:
357
-
### Install Podman / Docker:
358
-
- **Podman:** Follow the instructions provided on the [official Podman website](https://podman.io/getting-started/installation) to install Podman on your M1 Mac.
359
-
- **Docker:** Alternatively, you can install Docker using the native Apple Silicon version or the Rosetta-translated Intel version. Choose the method that best fits your requirements.
360
-
### Install Intel Version of Python:
361
-
1. Download and install the Intel version of Python 3.8 from the [official Python website](https://www.python.org/downloads/release/python-3810/).
362
-
2. After installation, ensure that you set the interpreter to Python 3.8 in your development environment.
363
-
## Configuration Steps:
364
-
### Configure Docker for M1:
365
-
- For M1 Macs, ensure compatibility by specifying the platform architecture during Docker build commands:
- If you're using an Intel Mac or running Docker with Rosetta translation, use the following command to build your Docker image:
371
-
docker build -t <image_name> .
372
-
## Additional Notes:
373
-
- These steps are tailored for M1 Macs to ensure seamless installation and configuration of IBM DB and Docker support.
374
-
- Verify that your Dockerfile and any dependencies are compatible with the specified platform architecture.
375
-
Follow these steps carefully to set up IBM DB and Docker support on your M1 Mac environment. If you encounter any issues or have further questions, feel free to seek assistance from the community or relevant support channels.
Install Intel/x64 version of python on M1 Chip system. Check [this](INSTALL.md#m1chip) link for detailed instructions.
192
-
193
191
## <aname="quick example"></a> Quick Example
194
192
```python
195
193
$ python
@@ -389,6 +387,8 @@ To suppress this error, Db2 server must be activated with db2connectactivate uti
389
387
390
388
- Db2connect license can be applied on database server or client side. A **db2connect license of version 11.5** is required for ibm_db.
391
389
390
+
- For MacOS M1/M2/M3 Chip System (ARM64 processor), **db2connect license of version 12.1** is required.
391
+
392
392
- For activating server side license, you can purchase either `Db2 Connect Unlimited Edition for System z®` or `Db2 Connect Unlimited Edition for System i®` license from IBM.
393
393
394
394
- Ask your DBA to run db2connectactivate utility on Server to activate db2connect license.
@@ -669,34 +669,10 @@ fail on version 8.x of Db2.
669
669
670
670
If trusted context is not set up, there will be two failures related to trusted context. When thick client has been used then additional three failures related to create, recreate DB.
671
671
672
-
`ibm_db` do not work with arm64 version of python, use x64 version.
673
-
674
-
675
672
## Known Limitations for the Python wrapper
676
673
677
674
1. The rowcount for select statements can not be generated.
678
675
2. Some warnings from the drivers are not caught by the wrapper.
679
676
As such these might go unnoticed.
680
677
681
-
# M1 MAC Steps to Install IBM DB and Support Docker RUN
682
-
## Installation Steps:
683
-
### Install Podman / Docker:
684
-
-**Podman:** Follow the instructions provided on the [official Podman website](https://podman.io/getting-started/installation) to install Podman on your M1 Mac.
685
-
-**Docker:** Alternatively, you can install Docker using the native Apple Silicon version or the Rosetta-translated Intel version. Choose the method that best fits your requirements.
686
-
### Install Intel Version of Python:
687
-
1. Download and install the Intel version of Python 3.8 from the [official Python website](https://www.python.org/downloads/release/python-3810/).
688
-
2. After installation, ensure that you set the interpreter to Python 3.8 in your development environment.
689
-
## Configuration Steps:
690
-
### Configure Docker for M1:
691
-
- For M1 Macs, ensure compatibility by specifying the platform architecture during Docker build commands:
- If you're using an Intel Mac or running Docker with Rosetta translation, use the following command to build your Docker image:
697
-
docker build -t <image_name> .
698
-
## Additional Notes:
699
-
- These steps are tailored for M1 Macs to ensure seamless installation and configuration of IBM DB and Docker support.
700
-
- Verify that your Dockerfile and any dependencies are compatible with the specified platform architecture.
701
-
Follow these steps carefully to set up IBM DB and Docker support on your M1 Mac environment. If you encounter any issues or have further questions, feel free to seek assistance from the community or relevant support channels.
0 commit comments