| Products | Minisoft News | Events | Downloads | Product Manuals
 
  News

Press Release:
ODBC now supporting Eloquence, AIX, OSX, UNIX, LINUX, and Oracle Open Gateway for Heterogeneous Queries

Press Release:
Minisoft Releases PCI Compliant Versions of ODBC, JDBC, and OLE DB


Demo and Updates

Download an Evaluation today!

ODBC Updates


Documentation

ODBC for Unix Documentation


Product Review

Tracing Facilities

Setting Environment Variables

DSN and odbc.ini

config3kodbc

  Driver Installation

Installing on HP-UX

Installing on Solaris

Installing on Linux

Installing on OSX

Installing on AIX

  Oracle Users

ODBC and Oracle Instructions

ODBC and Oracle FAQ

  Server Installation

Server on an HP-UX

 
   



ODBC for Unix Installation Instructions

Driver Installation on OSX

Prerequisites

You will need:

  1. OSX 10.2 or later; or 10.1 with iODBC installed.
    < http://www.iodbc.org/index.php?page=docs/macosodbcstory/index>

Driver

  1. Place all files and links in the /opt/minisoft directory. (the libraries should be 755)
    cd /
    mkdir opt
    cd /opt
    mkdir minisoft
    cd /opt/minisoft
     
  2. Append the lines from "drvinst.ini" into the odbcinst.ini file for your system. If you wish to create this as a User specific driver, add the lines from drvinst.ini to (~/Library/ODBC/odbcinst.ini). The file for system wide availability is (/Library/ODBC/odbcinst.ini). If the directory does not exist you may create it. For example:

    % mkdir /Library/ODBC
    % chmod 755 /Library/ODBC
    % touch /Library/ODBC/odbcinst.ini
    % chmod 644 /Library/ODBC/odbcinst.ini
    % cat /opt/minisoft/drvinst.ini >> /Library/ODBC/odbcinst.ini

     
  3. The default location for the ODBCINI file under iODBC is: (~/Library/ODBC/odbc.ini) while the Driver was created with unixODBC and expects (~/.odbc.ini). Be sure to add the ODBCSYSINI variable appropriate for the location of the driver installation file. (see Setting Environment Variables)

    % setenv ODBCINI /Library/ODBC/odbc.ini
    % setenv ODBCSYSINI /Library/ODBC

    or

    # export ODBCINI=/Library/ODBC/odbc.ini
    # export ODBCSYSINI=/Library/ODBC
     
  4. Use "config3kodbc.exe" to set the information from mscard.ini into your odbc.ini file. The database and password information for your HP3000 are encoded into the odbc.ini file and cannot be (easily) added with a text editor. This application (config3kodbc.exe) reads a ini file and encodes the information into the odbc.ini file.
    ------------------------------------------------

    sudo ./config3kodbc.exe -i -u -f mscard.ini

    ------------------------------------------------
     
  5. Edit the file "/Library/ODBC/odbc.ini" to include the new DSN in the list of "[ODBC Data Sources]"

    sudo vi /Library/ODBC/odbc.ini

    [ODBC Data Sources]
    sys2 = 3kodbc
    MSCARD3 = 3kodbc

     
  6. Using the integrated ODBC Administrator makes some changes to DSNs easier. Be sure to "unlock" the application before applying changes. The Minisoft driver requires encoded passwords that are not readable from the ODBC Administrator.

license.exe

Please report the value from this utility so that a License Number can be generated for your system.

This is a Linux executable.  Place it in the directory "/opt/minisoft". When run, it should display the System ID and System Name:

   # /opt/minisoft/license.exe
   System ID = [3046425382]
   System Name = [Linux 2.4.18-17.8.0 i686]
   Use one of the following parameters:
   1 - View license information
   2 - License a product
   5 - Create license file
   6 - View license for a product
   #