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 FEBRUARY 03, 2022
Applies to:PL/SQL - Version 126.96.36.199 and later
Information in this document applies to any platform.
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