GithubHelp home page GithubHelp logo

kaleidicassociates / ocilib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from d-programming-deimos/ocilib

0.0 1.0 0.0 111 KB

OCILIB is an open source and cross platform Oracle Driver that delivers efficient access to Oracle databases. It offers a full featured, easy and productive API. Written in ISO C on top of OCI, OCILIB runs on all Oracle platforms.

Home Page: http://www.ocilib.net/

C 50.57% D 49.43%

ocilib's Introduction

OCILIB - D bindings
--------------------------------

DESCRIPTION
===========
OCILIB is an open source and cross platform Oracle Driver that 
delivers efficient access to Oracle databases. It offers a full 
featured, easy and productive API. Written in ISO C on top of 
OCI, OCILIB runs on all Oracle platforms.


D BINDINGS
==========
Version 1.3, based on OCILIB v3.12.0 (2013-02-07)
C headers available in the c/ directory.


LICENSE
=======
It's licensed under GNU LESSER GENERAL PUBLIC LICENSE (LGPL).


SETUP
=====
Windows
  Download OCILIB version v3.12.0 (ocilib-3.12.0-windows.zip) from http://www.ocilib.net/

  $ unzip ocilib-3.12.0-windows.zip
  $ cd ocilib\lib32

  Copy the folder 'deimos' and the file 'myapp.d' from this repository to ocilib\lib32

  Create the import library - ANSI version*
  if the implib utility is not installed in your system, download it from
  http://ftp.digitalmars.com/bup.zip
  $ implib ociliba-dmd.lib ociliba.dll

  Build the app - ANSI - version*
  $ dmd myapp.d ociliba-dmd.lib

  Run the app
  $ SET ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0\server
  $ SET PATH=%PATH%;C:\oraclexe\app\oracle\product\10.2.0\server\bin
  $ myapp

  * OCILIB comes in 3 versions. ANSI, Unicode and Mixed.

  To use the Unicode version:
  - create the import library from ocilibw.dll
  - add -version=Unicode to dmd

  To use the Mixed version:
  - create the import library from ocilibm.dll
  - add -version=Mixed to dmd.

  For details, please see http://orclib.sourceforge.net/doc/html/group__g__charset.html


Linux
  Download and install OCILIB as described in
  http://orclib.sourceforge.net/doc/html/group__g__install.html
  
  Copy the folder 'deimos' and the file 'myapp.d' from this repository to a folder of your choice.

  Set the environment variables
  $ export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
  $ export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/local/lib
  
  Compile and run the app
  $ dmd myapp.d -L-locilib
  $ ./myapp


LINKS
=====
Official website: http://www.ocilib.net/
Sourceforge.net project: http://sourceforge.net/projects/orclib/
Article on Wikipedia: http://en.wikipedia.org/wiki/OCILIB


ocilib's People

Contributors

walterbright avatar kaleidic avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.