Re: Q: Oracle OCI and shared libraries
From: Wim Coekaerts <wcoekaer_at_behux2.be.oracle.com>
Date: 1996/04/12
Message-ID: <4kln47$ajl_at_inet-nntp-gw-1.us.oracle.com>#1/1
Date: 1996/04/12
Message-ID: <4kln47$ajl_at_inet-nntp-gw-1.us.oracle.com>#1/1
From 7.2 on there is something called libclntsh.sl
if you go to your ORACLE_HOME/rdbms/lib there should be a make
file for that. most of the time called
clntsh.mk do a make -f clntsh.mk shlib or so then it ll generate the .sl file
in ?/lib.
use this then to link your executables
eg cc -o myprogram myprogram.o $(LIBHOME)/libclntsh.sl `cat $(RLIB HOME)/sysliblist`"
it might vary a bit from system to system but this is the general idea. also oci libs are always with an oracle server for unix systems.. not on PCs there you need to install pro*c... if you want to compile with ProC you can set ORA_CLIENT_LIB=shared and run make -f proc.mk ....
cheers
Wim
-- Wim Coekaerts Work Tel.:32-2-7195978 "The significant problems we face cannot be solved at the same level of thinking we were at when we created them" Albert Einstein The statements and opinions expressed here are my own and do not necessarily represent those of Oracle Corporation.Received on Fri Apr 12 1996 - 00:00:00 CEST