ORA-04065 ORA-06508 Running A PL/SQL Application (Doc ID 605008.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
PL/SQL - Version 9.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 18th Apr 2016***

Symptoms

Private synonyms are defined for PLSQL packages

Calls to the packages may fail with:

ORA-04065 "not executed, altered or dropped %s"
ORA-06508 "PL/SQL: could not find program unit being called"

Or other similar issues such as:

PLS-00907: cannot load library unit XXXXX.XXXXX (referenced by )

Executing the query in:

<Note 456338.1>  ORA-4068 ORA-4065 ORA-06508 Errors Signalled For Valid Objects

Shows a list of private synonyms are out of sync.

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