OCI linker error [message #93566] |
Mon, 24 June 2002 23:23 |
Depa
Messages: 30 Registered: June 2002
|
Member |
|
|
O.S : Solaris
Oracle version: 8.1.6
i have a OCI program.
I am getting linker error.
Can anyone specify the exact library(.so) files needed for linking .
urgent please
|
|
|
|
Re: OCI linker error [message #93571 is a reply to message #93566] |
Thu, 27 June 2002 03:43 |
Deepa
Messages: 269 Registered: November 2000
|
Senior Member |
|
|
hello,
can you be clear.
Where to add these parameters,
how to specify the .so files when executing the program from commandline using g++ compiler
|
|
|
Re: OCI linker error [message #93575 is a reply to message #93566] |
Fri, 28 June 2002 02:14 |
Riosinph
Messages: 5 Registered: June 2002
|
Junior Member |
|
|
For Example:
g++ -o xxx -I$ORACLE_HOME/rdbms/demo/
-I$ORACLE_HOME/rdbms/public/
-L$ORACLE_HOME/lib
-lclntsh `cat $ORACLE_HOME/lib/sysliblist` -ldl -lm
xxx.c
|
|
|