unixodbc driver manager cannot open specified library on install

前端 未结 2 1764
予麋鹿
予麋鹿 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:01

    Check unixODBC and your driver are the same architecture i.e., run:

    which isql
    file xxx (whatever came back from above)
    file /usr/dlc/odbc/lib/pgoe1023.so
    

    They should both be 32 bit or 64 bit. A 64 bit unixODBC cannot use 32 bit drivers and vice versa.

    You should not need that symlink.

    Run ldd on /usr/dlc/odbc/lib/pgoe1023.so to ensure all dependencies are found.

    Check /usr/dlc/odbc/lib/pgoe1023.so is executable.

    BTW, I presume you got your labels the wrong way around as your odbc.ini file contents should be the odbcinst.ini and vice versa.

提交回复
热议问题