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

Home -> Community -> Usenet -> c.d.o.server -> Re: Error: External Procedure (C++) on Oracle9.2i version Sparc 64-bit

Re: Error: External Procedure (C++) on Oracle9.2i version Sparc 64-bit

From: Anna C. Dent <anacdent_at_hotmail.com>
Date: Fri, 31 Oct 2003 16:32:38 -0800
Message-ID: <DaDob.106471$Ms2.105324@fed1read03>


Yai wrote:

> Dear All,
>
> I created expternal procedure for Oracle9.2i Sparc 64-bit and
> I built share library ( .so) on solaris 8 sparc 64-bit. In case my C++
> project consisted of only one files, it worked. But when I added more
> code files to the procect and executed SQL statment as belows.
>
> SQL> select ctx_thai.NectecSwath('test') from dual;
>
> I got these error messages.
>
> ERROR at line 1:
> ORA-06521: PL/SQL: Error mapping function
> ORA-06522: ld.so.1: extprocPLSExtProc: fatal: NectecSwath: can't find
> symbol
> ORA-06512: at "CTXSYS.CTX_THAI", line 0
> ORA-06512: at line 1
>
> I also used nm to show the global function in my share library. It
> reported as the following.
>
> [Index]Value Size Type Bind Other Shndx Name
> [50] | 3184| 260|FUNC |GLOB |0 |10 |NectecSwath
>
> So I wonder why I got the message "NectecSwath: can't find symbol".
>
> Anyone please solve this problem for me.

It is caused by a BUG in the new code.
Happy hunting! Received on Fri Oct 31 2003 - 18:32:38 CST

Original text of this message

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