Q:How to build OCI client on AIX 3.2
Date: 1996/09/19
Message-ID: <32417832.41C6_at_dna406.dna.mci.com>#1/1
We are trying to build Oracle OCI programs on AIX 3.2 and are running
into problems getting the executables to link with libclntsh.a. If we
link with just the $ORACLE_HOME/lib/libcnltsh.a library we get the
following unresolved symbols:
By going in and deciphering the clntsh.mk file in
$ORACLE_HOME/rdbms/lib. I was able to determine that all of the "^o*"
objects were exported from the libclient.a before it is linked into the
libclntsh.a library.
Does this mean that the above object files (ocom, olog, ologof) should
not be used in the shared client environment? Why are the o* objects
removed?
We were able to get an executable built by linking our program with
libclntsh.a and libclient.a which then linked in the above list of
objects. Is this a safe thing to do?
Is there a better way to build OCI client executables using shared
libraries?
I also noticed that the oracle.mk file uses the oraxlc script to set up
a bunch of environment variables when compiling the cdemo* demo
programs. Should we also use oraxlc or can xlc be used safely?
Does Oracle provide any documentation on build OCI programs??????
Thanks for any info.
.ocom
.oexfet
.odefin
.olog
.ologof
.oclose
.oparse
.oerhms
.oopen
.ocof
dave.
--
David Hinz --- MCI Telecommunications Corporation
E-mail: dhinz_at_dna406.dna.mci.com Pager: 1-800-PAGE-MCI PIN: 172-3148
Phone: (303) 291-6108 VNET: 636-6108 Fax: (303) 291-6365
Received on Thu Sep 19 1996 - 00:00:00 CEST