Use the iqdsn utility to create an entry in the .odbc.ini file.
Driver UserID UID Password PWD SID SID Encrypted Password ENP ProcResults PROC ArraySize SIZE EnableMSDTC EDTC ProcOwner POWNER
[MyOra2] Driver=/Sybase/IQ-15_4/lib64/libdboraodbc12_r.so UserID=system Password=manager SID=QAORA