libgcc_s.so.1: cannot open shared object file: No such file or directory

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Symptoms

Some application functionality (in this example,viewing a source file) fails and a message similar to the following appears in the atlassian-fisheye-YYYY-MM-DD.log:

1 2 3 4 5 6 7 8 9 2013-07-24 10:22:25,747 ERROR [qtp24275548-993 ] fisheye TotalityFilter-logExceptionDetails - Exception "java.lang.reflect.InvocationTargetException" (javax.servlet.ServletException) while processing "/test_file.java" (Referer:"https://kidney/fecru/") javax.servlet.ServletException: java.lang.reflect.InvocationTargetException ... Caused by: java.lang.reflect.InvocationTargetException ... 81 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager ... 124 more

Diagnosis

1 2 3 4 5 6 7 8 9 2013-07-24 10:22:25,747 ERROR [qtp24275548-991 ] fisheye TotalityFilter-logExceptionDetails - Exception "java.lang.reflect.InvocationTargetException" (javax.servlet.ServletException) while processing "/test_file.java" (Referer:"https://kidney/fecru/") javax.servlet.ServletException: java.lang.reflect.InvocationTargetException ... Caused by: java.lang.reflect.InvocationTargetException ... 81 more Caused by: java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_21/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory ... ... 124 more

Cause

A Java library failed to load.

Solution

Resolution

Install the libgcc_s.so.1 package and restart the application:

For RedHat (or similar distributions):

yum install libgcc_s.so.1

For Debian (or similar distributions):

apt-get install libgcc_s.so.1

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.