*shared* # Setup file for Oracle 8.1.5 (Tested for Linux on Intel). # # Unfortunately, the libraries needed to link Oracle change from revision # to revision. # # Oracle provides a make file for building "demo" programs in # $ORACLE_HOME/rdbms/demo/demo_rdbms.mk. I have been unable to # use this make file to build Python extensions. Adapting it is # not adequate, because it may change for new Oracle revs. # My approach is to use demo_rdbms.mk to build one of the # demo programs, look at the libraries linked, and start from there. :-( # ORACLE_INCLUDES=$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/network/public -I$(ORACLE_HOME)/plsql/public ORACLE_L=-lagent8 -lgsldb8 -lnls8 -lordsdo8 -lsql8 -laurora -lgslr8 -lnoname8 -lordts8 -lsqlplus -lclient8 -lgslssb8 -lnoss8 -lordvir8 -lsvrmgrl -lcommon8 -lgslssf8 -lnro8 -lordvirt8 -ltnsapi8 -lcore8 -lldapclnt8 -lnsslb8 -lplc8 -ltrace8 -lctx8 -lmm -lntcp8 -lplp8 -ltracefe8 -lctxc8 -ln8 -lntcps8 -lpls8 -ltracept8 -lctxs8 -lnbeq8 -lntns8 -lpsa8 -lvsn8 -ldbicx8 -lnhost8 -lnus8 -lserver8 -lgeneric8 -lnl8 -lordaud8 -lslax8 -lgslavl8 -lordimg8 -lslpm ORACLE_LIBS=$(ORACLE_HOME)/lib/ -L$(ORACLE_HOME)/rdbms/lib $(ORACLE_HOME)/rdbms/lib/defopt.o $(ORACLE_HOME)/lib/sscoreed.o $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORACLE_L) oci_ oci_.c -I$(ORACLE_INCLUDES) -L$(ORACLE_LIBS) -DDCORACLE8 Buffer Buffer.c