EXTPROC Demo Fails With ORA-06520 ORA-06522: only ET_DYN and ET_EXEC can be loaded or ELF file's phentsize not the expected size (Doc ID 297060.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version 9.2.0.8 and later
Linux x86
***Checked for relevance on 23-Oct-2013***

Symptoms

Running simple EXTPROC demo fails on Oracle10g or later with

ORA-06520: PL/SQL: Error loading external library
ORA-06522: extproc.so: only ET_DYN and ET_EXEC can be loaded


Fails on Oracle9i With

ORA-06520: PL/SQL: Error loading external library
ORA-06522: extproc.so: ELF file's phentsize not the expected size


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms