[DB-SIG] Oracle 8 Linux and oracledb

tukker@microweb.nl tukker@microweb.nl
Fri, 9 Oct 1998 20:45:43 +0100 (WET DST)


> I managed to compile the oracledb module under linux with Oracle 8.
> 
> But using python I get the following message:
> 
> [jit@master oracle]$ python
> Python 1.5.1 (#1, Oct  9 1998, 19:30:22)  [GCC 2.7.2.3] on linux2
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import oracledb;
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
> ImportError: /usr/local/lib/python1.5/lib-dynload/oracledbmodule.so: undefined symbol: kpugml
> >>>           

Oke, I will give the answer myself.. I read on the PHP3 newsgroup a
message about Oracle8, Linux and PHP. Some fiddling with libraries gave
the following successfull result:

the oraclemodule part of the Makefile in the oracledb package:

oracledbmodule$(SO):  oradbmodule.o dbi.o; $(LDSHARED)  oradbmodule.o dbi.o  -L/homeb/oracle/lib/ -L/homeb/oracle/rdbms/lib /homeb/oracle/lib/scorept.o -L/homeb/oracle/rdbms/public -lnetv2 -lnttcp -lnetwork -lncr -lvsn -lcommon -lgeneric -lcore4 -lnlsrtl3 -lepc -lsql -lclient -lclntsh -ldl -o oracledbmodule$(SO)

The linking of the libraries differs of the results found by the auto-generate
script...

Greetinx,

Klaasjan TUkker