Re: Problems calling external C++ routines from PL/SQL
Date: Fri, 21 Jun 2002 02:53:50 GMT
Message-ID: <2zwQ8.30046$mh.1242445_at_news1.telusplanet.net>
I am not C expert, but a C programmer and I Installed a library
What we found that Oracle works only with what is called static library, not
dynamic library.
I don't know what the difference between them, (that what the C programmer
told me)
but we did develop static library and it worked!
"John Trattles" <john.trattles_at_bt.com> wrote in message
news:e1b5138b.0206200235.45175761_at_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 Fri Jun 21 2002 - 04:53:50 CEST