OML4Py: Troubleshooting "ORA-06520: PL/SQL: Error loading external library" when running embedded Python code
(Doc ID 3039854.1)
Last updated on AUGUST 07, 2024
Applies to:
Oracle Machine Learning on premises - Version OML4Py - 1.0 and laterLinux x86-64
Purpose
The document describes the steps to troubleshoot the error ORA-06520: PL/SQL: Error loading external library occurring when running embedded Python code on Oracle Database on-premises.
Problem Description:
After installing and configuring OML4Py on an on-premises Oracle Database and running the embedded Python execution verification example, the following error is returned.
In this article, the Oracle database version is 19.4, the OML4Py version is 1.0, the database user is pyquser with password pyquser, and the PDB name is PDB1.
All steps are performed on the database server using a bash terminal, SQL*Plus and the gcc compiler on Oracle Linux 8.x.
Troubleshooting Steps
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |