Question
Robson Tenorio · Jan 26

Using ODBC on linux

I already have a working setup with:

- Ubuntu 21.10
- Unixodbc 2.3.6
- ODBC-2018.1.5.659.0-lnxubuntux64
- libcacheodbcur64.so

I have tried to update to:

- Ubuntu 22.04
- Unixodbc 2.3.9

But, i am getting  "SQLDriverConnect: 0 [unixODBC][Driver Manager]Driver does not support the requested version".

So, I have tried to switch to:

-  libcacheodbcur6435.so
- ODBC-2018.1.7.721.0-lnxubuntux64.tar

But i am getting same error. Please, could someone help me?

0
0 84
Discussion (1)2
Log in or sign up to continue

For future reference, solved by:

FROM

apt update && apt install -y php8.2-odbc odbcinst

TO

apt update && apt install -y php8.2-odbc unixodbc libodbccr2 odbcinst

ADDED

ln -s /usr/lib/x86_64-linux-gnu/libodbccr.so.2.0.0 /etc/libodbccr.so