Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    2

    Unanswered: C shared library (.so) access by an external procedure

    Hi all,

    I am trying to access an so written in C language on unix using oracle 10g external procedure. I have created a oracle library object using that so.

    But in the external procedure is giving exception showing the following.

    exceptionORA-06521: PL/SQL: Error mapping function
    ORA-06522: ld.so.1: extproc: fatal: getInternalKey: can't find symbol.

    Where getInternalKey is the c function in the so. Although the symbol is present in the so as viewed using "nm" command.

    Can anybody help plzz. Thanks in advance.

    saby.

  2. #2
    Join Date
    Oct 2008
    Posts
    2
    Its working after compiling the so with gcc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •