I thought I had this problem solved:
I have the iSeries Access for Linux installed on my desktop Ubuntu box and I can query the iSeries from command line using isql to the DSN I set up using ODBCConfig. My desktop Ubuntu has Apache and PHP installed, but no ODBC support. I want my Ubuntu Server (with ODBC support in Apache/PHP) to connect and serve up the webpages, so I went through the same installation steps (downloaded iSeries Access, used Alien to convert the rpm to a dpkg, installed, set up the odbc.ini and odbcinst.ini) but every time i try to start the isql to test the connection, i get an error:
@linuxserver:~$ isql -v iseriesdb
[unixODBC][Driver Manager] Can't open lib '/opt/ibm/iSeries/Access/l
dbc.so' : file not found
[ISQL]ERROR: Could not SQLConnect
The exact same command works fine on my desktop box. I have verified that the files exist in the right location. I've even tried it with sudo and by chmod'ing the files for all permissions, but same error. I'm stuck. What am I missing?