tar xvzf unixODBC-2.2.3.tar.gz cd unixODBC-2.2.3 ./configure --prefix=/opt/unixODBC-2.2.3 --sysconfdir=/etc make make install #---------------------------------------------------------------------- #Libraries have been installed in: # /opt/unixODBC-2.2.3/lib # #If you ever happen to want to link against installed libraries #in a given directory, LIBDIR, you must either use libtool, and #specify the full pathname of the library, or use the `-LLIBDIR' #flag during linking and do at least one of the following: # - add LIBDIR to the `LD_LIBRARY_PATH' environment variable # during execution # - add LIBDIR to the `LD_RUN_PATH' environment variable # during linking # - use the `-Wl,--rpath -Wl,LIBDIR' linker flag # - have your system administrator add LIBDIR to `/etc/ld.so.conf' # #See any operating system documentation about shared libraries for #more information, such as the ld(1) and ld.so(8) manual pages. #---------------------------------------------------------------------- ln -s /opt/unixODBC-2.2.3 /opt/unixODBC cd .. mkdir ib6-unix-ODBC tar xvzf ib6-unix-ODBC-linux-x86.tar.gz -C ib6-unix-ODBC cd ib-unix-ODBC chown root.root * # The file README in ib6-unix-ODBC is a nice reading # # Set the values of LD_LIBRARY_PATH in .bashrc, for example, by # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/unixODBC/lib:/opt/ib6-unix-ODBC # # # Add the following lines to /etc/odbcinst.ini # #[INTERBASE] #Description = Easysoft Driver for InterBase #Driver = /opt/ib6-unix-ODBC/libib6odbc.so #Setup = /opt/ib6-unix-ODBC/libib6odbcS.so #FileUsage = 7 #DontDLClose = 1 #serial_number = SERIALNUMBER0123 # Just to test if the access to the above drive works # set either a file $HOME/.odbc.ini or a file # /etc/odbc.ini with the lines: #[ib6] #Driver = INTERBASE #Description = InterBase driver #Database = /opt/interbase/examples/employee.gdb #User = sysdba #Password = masterkey #With_Schema = 0 #Dialect = 3 #Charset = #Role = #Nowait = 0 #OldMetaData = 0 #ExecProc = 0 #DQueue = 0 #WithDefault = 1 #serial_number = SERIALNUMBER0123