External Procedure Call Fails With: ORA-06522 When Using the EXTPROC.ORA Configuration File Instead of the Listener
(Doc ID 1256784.1)
Last updated on MARCH 25, 2019
Applies to:PL/SQL - Version 18.104.22.168 and later
Information in this document applies to any platform.
*** Checked for relevance on 14th Aug 2017 ***
Running external procedure that depends on another shared library (.so/sl) or dynamic link library (.dll) in case of Windows, fails when it tries to load the dependent library even when the LD_LIBRARY_PATH is set in extproc.ora (and/or in the listener.ora if listener configuration is used) to correct location.
The following example, when run, fails with ORA-06520/ORA-06522 error.
1) Save below file as "doubleit_internal.c" and generate a shared library for it either by using the Oracle provided make file located at $ORACLE_HOME/rdbms/demo/demo_rdbms.mk or using custom command. For E.g:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document