unixodbc driver manager cannot open specified library on install

前端 未结 2 1758
予麋鹿
予麋鹿 2021-02-15 17:17

I\'m using ArchLinux and I am trying to install OpenEdge progress drivers so I can access it via PHP. I\'ve installed the unixodbc package and the drivers, but when I test the

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-15 18:04

    One thing to check is the minor version numbers of the unixODBC libs that the driver is linked against. Since unixODBC 2.3.1 I changed the minor lib number to 2 to reflect the change in the SQLLEN size on 64 bit platforms. However if the driver lib was linked against a earlier version it will be looking for a libodbc.so.1, and current sources provide libodbc.so.2. Simple solution is to provide a sym link from the *.so.1 to the *.so.2. The same is also true of libodbcinst.so, so check that as well.

提交回复
热议问题