Libgcc_s_sjlj-1.dll is Missing or Not Found: 5 Ways to Download it

Placing a copy of the DLL in the directory is quickest fix

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

libgcc_s_sjlj-1.dll
XINSTALL BY CLICKING THE DOWNLOAD FILE
A message from our partner

For fixing DLL errors, we recommend Fortect:

Fortect will search for an intitial version of your missing, corrupted or damaged DLL files that cause problems to your Windows OS and will replace it. Here is how to find them in 3 easy steps:

  • Download Fortect and install it on your PC
  • Launch the tool and Start scanning to find DLL files that could be causing PC problems
  • Right-click on Start Repair to replace all broken DLLs or fix them one by one from the console
Download Now Fortect has been downloaded by 0 readers this month, rated 4.6 on TrustPilot

The libgcc_s_sjlj-1.dll file is critical for programs developed using MinGW, and when it’s not found, the program will throw an error. The error message reads, The program can’t start because libgcc_s_sjlj-1.dll is missing from your computer. Try reinstalling the program to fix this problem.

This usually happens when using an incorrect version of MinGW for compilation, the DLL file is corrupted, or the antivirus solution is preventing libgcc_s_sjlj-1.dll from running.

Before you proceed to the solutions, reboot the PC, install any pending updates both for Windows and the affected program, and disable any active third-party antiviruses!

What can I do when libgcc_s_sjlj-1.dll is not found?

1. Manually get a copy of the DLL

The easiest solution when libgcc_s_sjlj-1.dll is missing is to place the DLL in the same folder as the affected program’s executable (.exe file). As for the libgcc_s_sjlj-1.dll’s location/storage path, it’s: MinGW\bin

So, connect a USB flash drive to another PC > go to the MinGW\bin directory > locate the DLL > move it to the USB drive > then connect the drive the affected PC > copy the file to the MinGW\bin folder as well as where the affected program launcher (.exe file) is stored > restart the PC.

2. Check if you are using the right version of MinGW

In several cases, users had issues when using the incorrect version of MinGW, primarily while using the 64-bit MinGW compiler when the 32-bit was needed. And simply switching to the MinGW 32-bit compiler fixed the missing libgcc_s_sjlj-1.dll error.

Also, make sure you are using the same MinGW to compile the program that was used for Qt. Using another version now will trigger an error.

3. Use -shared-libgcc

Adding -shared-libgcc and -shared-libstdc++ to the compiler and linker flags will eliminate the executable’s dependency on libgcc_s_sjlj-1.dll, fixing the missing DLL error.

To do that, go to Settings > Compilers > Linker Settings > Other linker settings > add -shared-libgcc and -shared-libstdc++

4. Whitelist the affected program and libgcc_s_sjlj-1.dll

  1. Press Windows + S to open Search, type Windows Security in the text field, and click on the relevant result.
  2. Click on Virus & threat protection.windows security
  3. Click on Manage settings under Virus & threat protection.
  4. Now, scroll down and click on Add or remove exclusions.add exclusions to fix missing libgcc_s_sjlj-1.dll
  5. Click the Add an exclusion button and select Folder from the dropdown menu.add an exlcusion
  6. Go the affected program’s path that also includes the DLL, select the entire directory, and click on Select Folder.
  7. After adding the exclusion, reboot the PC to apply the changes.

If libgcc_s_sjlj-1.dll gets deleted each time you add it to the program’s folder, it’s likely Windows Security deleting the file. In this case, you must scan the DLL, and if it turns out to be safe, add an exclusion for the file.

Now, when you manually move a copy of the DLL, it will remain available to the program!

5. Reinstall the affected program

  1. Press Windows + R to open Run, type appwiz.cpl in the text field, and hit Enter.
  2. Select the affected program from the list, and click on Uninstall.reinstall app ti fix missing libgcc_s_sjlj-1.dll
  3. Follow the on-screen instructions to complete the process and then restart the computer.
  4. Finally, download and install the program from the developer’s official website.

If you are an end user of the application throwing the error, and none of the solutions work, the last option is to reinstall the app.

Because non-Microsoft DLLs are usually packaged with the installer and get added to the PC during the initial installation. If it didn’t happen the first time, reinstalling the app will work!

Remember, since libgcc_s_sjlj-1.dll is a non-Microsoft DLL, running the SFC (System File Checker) scan or reinstalling Windows won’t help because it’s not a part of the default OS setup. You will have to rely on program-centric solutions to resolve the issue.

Before you leave, find out how to fix all missing DLL errors and prevent such problems from reappearing!

For any queries or to share which fix worked for you, drop a comment below.

More about the topics: DLL errors, DLL issues

User forum

0 messages