Libraries to link ( Pro*C executable with SQL*Net2.0 )

From: Anton V. Gruza <ant_at_geol.spb.su>
Date: 1995/07/11
Message-ID: <AAQGb0mqX3_at_geol.spb.su>#1/1


Hi, world !

Is there anybody able to give me a clear sense about Oracle makefiles for Pro*C programs ? What libraries are needed for Pro*C executable for being able to connect over SQL*Net 2.1 ? Why have <proc.mk> makefile got "-lsqlnet -lora" twice ?



proc16 iname=sample1.pc include=/d202/dba/oracle/7.1.3/sqllib/public ireclen=132 oreclen=132 sqlcheck=none ltype=none /d202/dba/oracle/7.1.3/bin/echodo
cc -I. -O -xcg92 -L/d202/dba/oracle/7.1.3/lib
-o sample1 sample1.c
-lsql /d202/dba/oracle/7.1.3/lib/osntab.o
-lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6

         -lcore `cat /d202/dba/oracle/7.1.3/rdbms/lib/sysliblist`


As far as I understand, the people of Oracle doesn't like 3GL programming at all, :-(. I've got now 7.1.3 - the third release since the first 6.0.36 I've been dealing with - and all I could see is the same UGLY, WITHOUT ANY RESPECT TO CUSTOMERS makefile in proc/demo directory ( on Unix box ). I understand that programming with GUI tools is very popular - but there are a lot of things they are unable to implement so I need 3GL.

Is it so hard to give programmers clear ideas about the libraries they need to link ? Two years ago I considered Unix and all stuff concerning it VERY COMPLICATED by nature ( looking at 6.x.x release of Oracle ) - but now I realize that it is not the feature of Unix - it's the feature of people writing Unix programs. I'm very sorry about this.

That's why the market is going to Microsoft monopoly, there is lot of pretty buttons there without makefiles and scripts ....

Anton Received on Tue Jul 11 1995 - 00:00:00 CEST

Original text of this message