OCILib & Ports

Franco Marchesini franco.marchesini at gmail.com
Fri Feb 6 01:05:29 PST 2009


I read in documentatione that there is support for instantclient...
Now prepare a virtual machine and I try to compile.



Oracle Instant Client Support

OCILIB supports Oracle Instant Client.

On Microsoft Windows, there is no difference between using a regular
Oracle client and an Instant Client with OCILIB

On Unix-like systems, the Instant Client is divised in different packages.

Public headers and shared libs are not part of the same package.

So, you must provide the following options to the configure command :

    * with-oracle-headers-path : location the public header files
    * with-oracle-lib-path : location the oracle shared lib

If your instant client package containing the shared libs does not
have a symbolic link 'libclntsh.[shared lib extension]' to the fully
qualified shared lib real name, you must create it :

Example on Linux :

    * $ ln -s $ORALIBPATH/libclntsh.so.10.1 $ORALIBPATH/libclntsh.so


2009/2/6 Thierry Thomas <thierry at freebsd.org>:
> Le Ven  6 fév 09 à  9:00:01 +0100, Franco Marchesini <franco.marchesini at gmail.com>
>  écrivait :
>> Hello guys,
> Hello,
>> there is someone that already working on OCILib port?
>> http://orclib.sourceforge.net/
> It seems interesting, but this is a wrapper on Oracle's OCI, and ATM
> there is no "supported" OCI in the ports tree. Do you think that it
> could work with oracle8-client or with linux-oracle-instantclient?
> Regards,
> --
> Th. Thomas.

More information about the freebsd-ports mailing list