If after installation you cannot connect and you see the error message:
[unixODBC][AsterData][ODBC] (11560) Unable to locate SQLGetPrivateProfileString functiondo the following:
- Find the library libodbcinst.so (libodbcinst.dylib on Mac OS) and note its path.
-
Set the LD_LIBRARY_PATH environment variable so that it includes the directory that contains the library. For example, if the library is in /usr/lib64, then you will type:
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
- Open the .aster.ini file for editing.
-
Set the ODBCInstLib item to the correct path where the library libodbcinst.so (or libodbcinst.dylib on Mac OS) is located. For example, if the library is in the directory /usr/lib64, the line should read:
ODBCInstLib=/usr/lib64/libodbcinst.so