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 -> Error: External Procedure (C++) on Oracle9.2i version Sparc 64-bit

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

From: Yai <paisarn_at_chula.com>
Date: 31 Oct 2003 02:00:55 -0800
Message-ID: <627b7d1a.0310310200.41765044@posting.google.com>


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.

Thank you.

Yai Received on Fri Oct 31 2003 - 04:00:55 CST

Original text of this message

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