Encountering an “Ordinal not found” error when trying to run a program can be a major headache. This error typically appears with a message like “The ordinal [number] could not be located in the dynamic link library [filename].dll”. Don’t worry – in most cases, you can resolve this issue with a few straightforward steps.
The “Ordinal not found” error occurs when a program can’t find a specific function within a Dynamic Link Library (DLL) file. This can happen due to missing or outdated system files, particularly those related to Microsoft Visual C++ Redistributable packages or OpenSSL libraries.
Method 1: Install or Update Microsoft Visual C++ Redistributable
The most common cause of “Ordinal not found” errors is a missing or outdated Microsoft Visual C++ Redistributable package. Here’s how to fix it:
Step 1: Determine whether you need the 32-bit or 64-bit version. To check your system type, press Windows key + I, go to System > About, and look under “System type”.
Step 2: Download the appropriate Microsoft Visual C++ Redistributable package. For the latest version, visit the official Microsoft Download Center.
Step 3: Run the installer and follow the on-screen instructions. You may need to restart your computer after installation.
Step 4: Try running the program that was giving the error. If it works, you’ve solved the problem. If not, move on to the next method.
Method 2: Install OpenSSL (for LIBEAY32.DLL errors)
If the error specifically mentions LIBEAY32.DLL, you’ll need to install OpenSSL:
Step 1: Visit the official OpenSSL website and download the appropriate version for your system.
Step 2: Run the installer, making sure to install it in the Windows system directory (usually C:\Windows\System32).
Step 3: Restart your computer and try running the program again.
Method 3: Update Windows
Sometimes, Windows updates can resolve DLL-related issues:
Step 1: Press Windows key + I to open Settings.
Step 2: Go to Update & Security > Windows Update.
Step 3: Click “Check for updates” and install any available updates.
Step 4: Restart your computer and check if the error persists.
Method 4: Reinstall the Problematic Program
If the error is specific to one program, try reinstalling it:
Step 1: Uninstall the program from Control Panel > Programs and Features.
Step 2: Download the latest version of the program from the official website.
Step 3: Install the program and check if the error is resolved.
Method 5: Run System File Checker
The System File Checker can repair corrupted system files:
Step 1: Open Command Prompt as administrator.
Step 2: Type the following command and press Enter:
sfc /scannow
Step 3: Wait for the process to complete and restart your computer.
If you’re still encountering the “Ordinal not found” error after trying these methods, you may need to seek help from a technical support professional or the software’s developer. They can provide more specific guidance based on your particular situation.
Hopefully, one of these solutions has helped you resolve the pesky “Ordinal not found” error. Remember to keep your system and software up-to-date to prevent similar issues in the future.