Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> C++ Program using OCI

C++ Program using OCI

From: Darren Greer <drgreer_at_qtiworld.com>
Date: Fri, 07 May 1999 20:00:09 GMT
Message-ID: <37333f3a.690408514@news.qgraph.com>


Hello all.

We are trying to implement some C++ programs using OCI to access an Oracle Database. However we are having trouble during the linking stage. Before I ask for too much help, I would just like some suggestions as to which libraries the following are in. Below is posted the output of the compilation/linking of our program.

Thanks,

Darren

--------------Errors-----------------

bart:/users/drgreer/c =>make -f oracle.mk test1          
        /opt/gcc/bin/g++ -O test1.cc -L/usr/oracle/7.3.4/lib

-L/usr/oracle/7.3.4/rdbms/lib -o test1

collect2: ld returned 1 exit status
/usr/ccs/bin/ld: Unsatisfied symbols:

   oerhms (code)
   obndra (code)
   oopen (code)

   oparse (code)
   obndrv (code)
   ologof (code)

   ofen (code)
   odefin (code)
   odescr (code)
   ocom (code)
   olog (code)
   oclose (code)
   oexn (code)
*** Error exit code 1

Stop.


Received on Fri May 07 1999 - 15:00:09 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US