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 connect 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.
my linux system is:
Linux 2.6.13-1.1532_FC4
iSeriesAccess-5.2.0-1.10
unixODBC-2.2.11
PHP 4.4.1
Apache 2.0.55
this is driving me nuts