This step is a little bit complicated. You have to done works on both sides of your Linux client machine and NT server.
install.sh
and likoxglc.taz
(for a libc6 system) or likoxxxx.taz
(for a libc5 system).mkdir /usr/local/openlink
install.sh
and likoxglc.taz
into /usr/local/openlink
cd /usr/local/openlink
sh install.sh
, the install script will ask you the owner and group of
the program. It will extract things to
odbcsdk
directory under /usr/local/openlink
and copy a .odbc.ini
into the owner's home directory.
ntadm65x.zip
onto your NT server.unzip ntadm65x.zip
cd disk1
- directory of where you unzip the package.setup
and follow the instructions to install the Openlink
middleware.
.odbc.ini
file in your home directory.udbc.ini
from the bin directory of Openlink middleware
install directory to the /etc
directory of client./etc/udbc.ini
. In [dsn_sql6] section, change the
host, database, username and password entries to fit your server settings.
Here is part of my /etc/udbc.ini
:
[dsn_sql6]
Host = 10.0.0.1
ServerType = sql6
;ServerOptions =
Database = pubs
;FetchBufferSize = 30
UserName = sa
Password = xxxxxxx
LD_LIBRARY_PATH='/usr/local/openlink/odbcsdk/lib'
and export it. In csh shell, type:
setenv LD_LIBRARY_PATH /usr/local/openlink/odbcsdk/lib
odbctest
cd /usr/local/openlink/odbcsdk/examples
./odbctest
dsn=dsn_sql6