Linking Oracle 7.3.2 applications

From: Michiel Schutler <michiel_at_enterprise.design.nl>
Date: 1997/02/11
Message-ID: <5dpeec$evm_at_news.NL.net>#1/1


Hi,

[Quoted] I am using Oracle Server 7.3.2 and I would like to compile some freely available source packages, such as a module for Python.

My problem is that most Makefiles are for Oracle 7.2 and as the library names changed for 7.3, these don't work anymore.A When I try to change a Makefile I end up with link lines like:

gcc -shared -o oracle.so -s -O2 $(PYTHON_INC) oramodule.c osntab.o \ $(ORACLE_LIB) -lsqlnet -lcommon -lncr -lcore3 -lnlsrtl3 -lcore3 -lclient \ -lcommon -lnlsrtl3 -lepc -lgeneric -lnlsrtl3 -lsqlnet -lcore3 -lnlsrtl3 \ -lcv6

in which each library is repeated many times.

Can anyone please tell me how to properly link an arbitrary program with Oracle 7.3?

Thanks,

Michiel Schutler.

--

| Michiel E. Schutler General Design |
| Kruislaan 419 |
| michiel_at_design.nl 1098 VA Amsterdam, The Netherlands |
| http://www.design.nl/~michiel/ phone +31-20-663-7769 |
Received on Tue Feb 11 1997 - 00:00:00 CET

Original text of this message