重庆思庄Oracle、Redhat认证学习论坛

标题: windos下安装19c软件报计算机中丢失api-ms-win-crt-runtime-l1-1-0.dll [打印本页]

作者: jiawang    时间: 2024-4-27 16:02
标题: windos下安装19c软件报计算机中丢失api-ms-win-crt-runtime-l1-1-0.dll
Oracle DB 19C Install fails with the error - "THE PROCEDURE ENTRY POINT _REGISTER_ONEXIT_FUNCTION COULD NOT BE LOCATED IN THE DYNAMIC LINK LIBRARY UNZIP LOCATION\PERL\BIN\PERL.EXE" (Doc ID 2658357.1)

In this Document
Symptoms
Changes
Cause
Solution
References

APPLIES TO:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Microsoft Windows x64 (64-bit)
SYMPTOMS
Installing Oracle 19c on Windows,setup.exe fails with the below error -
THE PROCEDURE ENTRY POINT _REGISTER_ONEXIT_FUNCTION COULD NOT BE LOCATED IN THE DYNAMIC LINK LIBRARY <UNZIP LOCATION>\PERL\BIN\PERL.EXE



CHANGES

CAUSE
Perl shipped in 19.3/20c is built using VS2017.So,This creates perl dependency on VS 2017 run time dlls.
If the Windows Host doesn't have VS2017 runtime installed then,when installer is invoked then it will call perl.exe which depends on VS2017 runtime .

SOLUTION
Engage System-Admin & install  Microsoft Visual C++ Redistributable for Visual Studio 2017 or higher.
https://support.microsoft.com/en-in/help/2977003/the-latest-supported-visual-c-downloads
Direct Link - https://aka.ms/vs/16/release/vc_redist.x64.exe

Also,Ensure presence of  below DLLs under C:\Windows\system32


C:\Windows\system32>dir api-ms-win*.dll
Volume in drive C has no label.
Volume Serial Number is F625-8567

Directory of C:\Windows\system32

08/22/2015  06:35 AM            12,640 api-ms-win-crt-conio-l1-1-0.dll
08/22/2015  06:35 AM            15,712 api-ms-win-crt-convert-l1-1-0.dll
08/22/2015  06:35 AM            12,128 api-ms-win-crt-environment-l1-1-0.dll
08/22/2015  06:35 AM            13,664 api-ms-win-crt-filesystem-l1-1-0.dll
08/22/2015  06:35 AM            12,640 api-ms-win-crt-heap-l1-1-0.dll
08/22/2015  06:35 AM            12,128 api-ms-win-crt-locale-l1-1-0.dll
08/22/2015  06:35 AM            20,832 api-ms-win-crt-math-l1-1-0.dll
08/22/2015  06:35 AM            19,808 api-ms-win-crt-multibyte-l1-1-0.dll
08/22/2015  06:35 AM            63,840 api-ms-win-crt-private-l1-1-0.dll
08/22/2015  06:35 AM            12,640 api-ms-win-crt-process-l1-1-0.dll
08/22/2015  06:35 AM            16,224 api-ms-win-crt-runtime-l1-1-0.dll
08/22/2015  06:35 AM            17,760 api-ms-win-crt-stdio-l1-1-0.dll
08/22/2015  06:35 AM            17,760 api-ms-win-crt-string-l1-1-0.dll
08/22/2015  06:35 AM            14,176 api-ms-win-crt-time-l1-1-0.dll
08/22/2015  06:35 AM            12,128 api-ms-win-crt-utility-l1-1-0.dll
             15 File(s)        274,080 bytes
              0 Dir(s)  61,787,635,712 bytes free

In the below case,MS VC++ 2019 were installed.

C:\opt\db\oracle\19.3.0\OPatch>wmic
wmic:root\cli>product get name,version
Name                                                            Version
Microsoft Visual C++ 2019 X86 Minimum Runtime - 14.20.27508     14.20.27508
Microsoft Visual C++ 2019 X64 Minimum Runtime - 14.20.27508     14.20.27508
Microsoft Visual C++ 2019 X86 Additional Runtime - 14.20.27508  14.20.27508
Microsoft Visual C++ 2019 X64 Additional Runtime - 14.20.27508  14.20.27508







欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2