ORA-04065 ORA-06508 Running A PL/SQL Application

(Doc ID 605008.1)

Last updated on MAY 29, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
PL/SQL - Version and later
Information in this document applies to any platform.
***Checked for relevance on 29th May 2018***


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.


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