Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Error: External Procedure (C++) on Oracle9.2i version Sparc 64-bit
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