Giter VIP home page Giter VIP logo

Comments (2)

wstaples avatar wstaples commented on July 29, 2024

I believe iSeriesAccess-7.1.0-1.0.x86_64.rpm is for the ODBC drivers. If that's what you want, you probably need the PHP ODBC extension installed as well. in ubuntu I would use sudo apt install php7.x-odbc. You could try the same in yum but the package name might be different.

from laravel-db2.

RiccardoFrancescato avatar RiccardoFrancescato commented on July 29, 2024

I finally found the solution to install IBM ODBC drivers on linux machine.
I share with you the solution i've found.

yum install ibm-iaccess-1.1.0.12-1.0.x86_64.rpm
cd /usr/lib64/
ln -s libodbcinst.so.2 /usr/lib64/libodbcinst.so.1
odbc_config --odbcinstini
vi /etc/odbcinst.ini
----- Content of odbcinst.ini ----
[ODBC]
Trace = No
Pooling = No 

[IBM i Access ODBC Driver]
Description=IBM i Access for Linux ODBC Driver
Driver=/opt/ibm/iaccess/lib/libcwbodbc.so
Setup=/opt/ibm/iaccess/lib/libcwbodbcs.so
Driver64=/opt/ibm/iaccess/lib64/libcwbodbc.so
Setup64=/opt/ibm/iaccess/lib64/libcwbodbcs.so
Threading=0
DontDLClose=1
UsageCount=1

[IBM i Access ODBC Driver 64-bit]
Description=IBM i Access for Linux 64-bit ODBC Driver
Driver=/opt/ibm/iaccess/lib64/libcwbodbc.so
Setup=/opt/ibm/iaccess/lib64/libcwbodbcs.so
Threading=0
DontDLClose=1
UsageCount=1
-----

vi /etc/odbc.ini
----- Content of odbc.ini ----
[STEALTH]
Description = IBM i Access ODBC driver
Driver = IBM i Access ODBC driver
System =
UserID =
Password =
Naming = 0
-----

from laravel-db2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.