Configure an odbc.ini file to use the ODBC driver and a datasource manually.
[sampledsn] Description=Sybase ODBC Data Source UserID=sa Password= Driver=complete_path_to_libsybdrvodb.so Server=sampleserver Port=4100 Database=pubs2 UseCursor=1