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 -> Problems calling C++ routines from PL/SQL

Problems calling C++ routines from PL/SQL

From: John Trattles <john.trattles_at_bt.com>
Date: 20 Jun 2002 03:47:44 -0700
Message-ID: <e1b5138b.0206200247.c7cb37e@posting.google.com>


I have created a library (using Create or Replace Library) in an attempt to access an in-house library for generating error messages. I am using oracle 8.1.7.3 on a sun box (solaris 5.8).

The PL/SQL code compiled ok but when I run the code I get the following error:

*
ERROR at line 1:
ORA-06520: PL/SQL: Error loading external library ORA-06522: ld.so.1: extprocPLSExtProc: fatal: relocation error: file /projects/trinity/lib/libevent.so: symbol __1cG__CrunMex_rethrow_q6F_v_:

referenced symbol not found
ORA-06512: at "GAS_INTERFACE", line 0
ORA-06512: at line 1

I suspect the cause of this is that the library was created using C++ rather than C (as the symbol __1cG__CrunMex_rethrow_q6F_v_ is a C++ symbol). Am I correct in assuming that I won't be able to access the library in question from PL/SQL?

Thanks

John Trattles Received on Thu Jun 20 2002 - 05:47:44 CDT

Original text of this message

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