libraries needed to link OCCI using gcc (merged) [message #280903] |
Thu, 15 November 2007 02:55 |
varuntayur
Messages: 4 Registered: November 2007
|
Junior Member |
|
|
Hello,
On executing the below commands
%c++ -c db.cc -I$ORACLE_HOME/rdbms/public -I$ORACLE_HOME/lib32
%c++ db.o $ORACLE_HOME/lib32/libclntsh.so $ORACLE_HOME/lib32/libocci10.a -lstd_v2 -lgen
on HP-UX system ,gcc version 4.1.2 the following errors came up.I know i am missing some shared library.Can anybody give the library i need to link to satisfy the dependency in the linking .
"ld: (Warning) Unsatisfied symbol "__bad_cast_exception" in file /usr/lib/hpux32/libstd_v2.so
ld: (Warning) Unsatisfied symbol "__bad_alloc_exception" in file /usr/lib/hpux32/libstd_v2.so
ld: (Warning) Unsatisfied symbol "__bad_typeid_exception" in file /usr/lib/hpux32/libstd_v2.so
ld: (Warning) Unsatisfied symbol "__bad_exception" in file /usr/lib/hpux32/libstd_v2.so
ld: Unsatisfied symbol "__cxa_finalize" in file /disk2/oracle/product/10.2.0.2.0/lib32/libocci10.a[occiSQLExceptionImpl.o]
ld: Unsatisfied symbol "__cxa_atexit" in file /disk2/oracle/product/10.2.0.2.0/lib32/libocci10.a[occiSQLExceptionImpl.o]
ld: Unsatisfied symbol "__cxa_personality_routine" in file /disk2/oracle/product/10.2.0.2.0/lib32/libocci10.a[occiSQLExceptionImpl.o]
4 warnings.
3 errors.
collect2: ld returned 1 exit status "
Thanks in advance .
|
|
|
|
|
libraries needed to link OCCI using gcc [message #280923 is a reply to message #280903] |
Thu, 15 November 2007 03:31 |
varuntayur
Messages: 4 Registered: November 2007
|
Junior Member |
|
|
Hello ,
what are the standard libraries other than libocci10.a and libclntsh.so to be used to successfully compile a file on HP-UX .
I am getting lot of unsatisfied symbols in my compilation.anyone posting the actual libraries or the command to compile it is highly appreciated.
|
|
|
|