I've spent a lot of hours trying to figure this out. So maybe anyone can help me out here, pls :(.
I was given an ibm-iaccess64.rpm then converted it to deb using alien. Then installed it: sudo dpkg -i ibm-iaccess64.deb. It was a success.
Then in my /etc/odbcinst.ini I have this config:
[ISERIES]
Description = iSeries Access ODBC Driver DSN for iSeries
Driver = iSeries Access ODBC Driver
System = 192.16.1.1
UserID = myuserid
Password = mypassword
Naming = 0
DefaultLibraries = QGPL
Database = MMGSTLIB
ConnectionType = 0
CommitMode = 2
ExtendedDynamic = 0
DefaultPkgLibrary = QGPL
DefaultPackage = A/DEFAULT(IBM),2,0,1,0,512
AllowDataCompression = 1
LibraryView = 0
AllowUnsupportedChar = 0
ForceTranslation = 0
Trace = 0
Then I tried isql -v ISERIES gave me this error:
[01000][unixODBC][Driver Manager]Can't open lib '/opt/ibm/iSeriesAccess/lib64/libcwbodbc.so' : file not found [ISQL]ERROR: Could not SQLConnect
I checked the filepath and the libcwbodbc exists >.<...
Hope anyone can help me here :(. Thanks a many