Last updated on AUGUST 14, 2017
Applies to:PL/SQL - Version 188.8.131.52 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:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms