[unixODBC-support] unixODBC iSeriesAccess and PHP

Nick Gorham nick.gorham at easysoft.com
Thu Jan 19 07:21:56 GMT 2006


slick wrote:

> I'm trying to connect to my DB2 database on an AS/400 from my linux
> system with unixODBC and the iSeriesAccess drivers installed. I can
> successfully connect and run queries from the command line in my linux
> system with isql, but when I try to connect with php I get the error:
>
> [unixODBC][Driver Manager]Can't open lib
> '/opt/ibm/iSeriesAccess/lib/libcwbodbc.so' : libodbcinst.so.1: cannot
> open shared object file: No such file or directory
>
> the library is there, readable, and I added that directory to my
> ld.so.conf file.  I'm not the sharpest tool in the shed, but I'm not a
> rusty tent-peg either.  Am I missing something obvious?

It may be that the location of the libodbcinst.so file is not readable 
as the user the web server is running as.

-- 
Nick Gorham
Easysoft Limited



More information about the unixODBC-support mailing list