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

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

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

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.

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

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.