java.lang.UnsatisfiedLinkError: /root/atlassian-stash-3.6.1-x32.bin.5428.dir/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory

Atlassian JIRA | Colin Yates | 2 years ago
  1. 0

    Installing on a headless machine unpacks the JRE, starts the installer and immediately throws: --- root@stash:~# ./atlassian-stash-3.6.1-x32.bin Unpacking JRE ... Starting Installer ... java.lang.UnsatisfiedLinkError: /root/atlassian-stash-3.6.1-x32.bin.5428.dir/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(Unknown Source) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at sun.font.FontManagerNativeLibrary$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.font.FontManagerNativeLibrary.<clinit>(Unknown Source) at sun.font.SunFontManager$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.font.SunFontManager.<clinit>(Unknown Source) at sun.font.FontDesignMetrics.getMetrics(Unknown Source) at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source) at javax.swing.JComponent.getFontMetrics(Unknown Source) at javax.swing.text.WrappedPlainView.updateMetrics(Unknown Source) at javax.swing.text.WrappedPlainView.updateChildren(Unknown Source) at javax.swing.text.WrappedPlainView.insertUpdate(Unknown Source) at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(Unknown Source) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(Unknown Source) at javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source) at javax.swing.text.AbstractDocument.handleInsertString(Unknown Source) at javax.swing.text.AbstractDocument.insertString(Unknown Source) at javax.swing.text.PlainDocument.insertString(Unknown Source) at javax.swing.text.DefaultEditorKit.read(Unknown Source) at javax.swing.JEditorPane.setText(Unknown Source) at javax.swing.JEditorPane.<init>(Unknown Source) at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source) at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source) at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source) at com.install4j.runtime.installer.Installer.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.launcher.Launcher.main(Unknown Source) Could not display the GUI. This application needs access to an X Server. ******************************************************************* You can also run this application in console mode without access to an X server by passing the argument -c ******************************************************************* --- It suggests starting the installer with "-c" which throws the same error. Forwarding X over SSH works and running the installer from an X-forwarded xterm displayed locally gives the following stack trace: --- Unpacking JRE ... Starting Installer ... java.lang.NoClassDefFoundError: java.awt.Container at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source) at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source) at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source) at com.install4j.runtime.installer.Installer.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.launcher.Launcher.main(Unknown Source) Could not display the GUI. This application needs access to an X Server. ******************************************************************* You can also run this application in console mode without access to an X server by passing the argument -c ******************************************************************* --- A related thread suggested installing dejavu fonts, which are installed.

    Atlassian JIRA | 2 years ago | Colin Yates
    java.lang.UnsatisfiedLinkError: /root/atlassian-stash-3.6.1-x32.bin.5428.dir/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
  2. 0

    Installing on a headless machine unpacks the JRE, starts the installer and immediately throws: --- root@stash:~# ./atlassian-stash-3.6.1-x32.bin Unpacking JRE ... Starting Installer ... java.lang.UnsatisfiedLinkError: /root/atlassian-stash-3.6.1-x32.bin.5428.dir/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(Unknown Source) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at sun.font.FontManagerNativeLibrary$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.font.FontManagerNativeLibrary.<clinit>(Unknown Source) at sun.font.SunFontManager$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.font.SunFontManager.<clinit>(Unknown Source) at sun.font.FontDesignMetrics.getMetrics(Unknown Source) at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source) at javax.swing.JComponent.getFontMetrics(Unknown Source) at javax.swing.text.WrappedPlainView.updateMetrics(Unknown Source) at javax.swing.text.WrappedPlainView.updateChildren(Unknown Source) at javax.swing.text.WrappedPlainView.insertUpdate(Unknown Source) at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(Unknown Source) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(Unknown Source) at javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source) at javax.swing.text.AbstractDocument.handleInsertString(Unknown Source) at javax.swing.text.AbstractDocument.insertString(Unknown Source) at javax.swing.text.PlainDocument.insertString(Unknown Source) at javax.swing.text.DefaultEditorKit.read(Unknown Source) at javax.swing.JEditorPane.setText(Unknown Source) at javax.swing.JEditorPane.<init>(Unknown Source) at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source) at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source) at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source) at com.install4j.runtime.installer.Installer.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.launcher.Launcher.main(Unknown Source) Could not display the GUI. This application needs access to an X Server. ******************************************************************* You can also run this application in console mode without access to an X server by passing the argument -c ******************************************************************* --- It suggests starting the installer with "-c" which throws the same error. Forwarding X over SSH works and running the installer from an X-forwarded xterm displayed locally gives the following stack trace: --- Unpacking JRE ... Starting Installer ... java.lang.NoClassDefFoundError: java.awt.Container at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source) at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source) at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source) at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source) at com.install4j.runtime.installer.Installer.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.launcher.Launcher.main(Unknown Source) Could not display the GUI. This application needs access to an X Server. ******************************************************************* You can also run this application in console mode without access to an X server by passing the argument -c ******************************************************************* --- A related thread suggested installing dejavu fonts, which are installed.

    Atlassian JIRA | 2 years ago | Colin Yates
    java.lang.UnsatisfiedLinkError: /root/atlassian-stash-3.6.1-x32.bin.5428.dir/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
  3. 0

    Does install4j command line tool work on a 32-bit JVM on Linux?

    Stack Overflow | 2 years ago | Steve McLeod
    java.lang.UnsatisfiedLinkError: /opt/jdk1.7.0_71_32/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    fix jenkins startup

    GitHub | 3 months ago | bdangit
    java.lang.UnsatisfiedLinkError: /hab/pkgs/core/jdk8/8u102/20160810135345/jre/lib/amd64/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
  6. 0

    A Java Programmers Big Move from Windows to Red Hat 8

    Oracle Community | 1 decade ago | 843798
    java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.1_02/jre/lib/i386/libfontmanager.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      /root/atlassian-stash-3.6.1-x32.bin.5428.dir/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory

      at java.lang.ClassLoader$NativeLibrary.load()
    2. Java RT
      JEditorPane.<init>
      1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
      2. java.lang.ClassLoader.loadLibrary1(Unknown Source)
      3. java.lang.ClassLoader.loadLibrary0(Unknown Source)
      4. java.lang.ClassLoader.loadLibrary(Unknown Source)
      5. java.lang.Runtime.loadLibrary0(Unknown Source)
      6. java.lang.System.loadLibrary(Unknown Source)
      7. sun.font.FontManagerNativeLibrary$1.run(Unknown Source)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. sun.font.FontManagerNativeLibrary.<clinit>(Unknown Source)
      10. sun.font.SunFontManager$1.run(Unknown Source)
      11. java.security.AccessController.doPrivileged(Native Method)
      12. sun.font.SunFontManager.<clinit>(Unknown Source)
      13. sun.font.FontDesignMetrics.getMetrics(Unknown Source)
      14. sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
      15. javax.swing.JComponent.getFontMetrics(Unknown Source)
      16. javax.swing.text.WrappedPlainView.updateMetrics(Unknown Source)
      17. javax.swing.text.WrappedPlainView.updateChildren(Unknown Source)
      18. javax.swing.text.WrappedPlainView.insertUpdate(Unknown Source)
      19. javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(Unknown Source)
      20. javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(Unknown Source)
      21. javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source)
      22. javax.swing.text.AbstractDocument.handleInsertString(Unknown Source)
      23. javax.swing.text.AbstractDocument.insertString(Unknown Source)
      24. javax.swing.text.PlainDocument.insertString(Unknown Source)
      25. javax.swing.text.DefaultEditorKit.read(Unknown Source)
      26. javax.swing.JEditorPane.setText(Unknown Source)
      27. javax.swing.JEditorPane.<init>(Unknown Source)
      27 frames
    3. com.install4j.runtime
      Installer.main
      1. com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source)
      2. com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source)
      3. com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source)
      4. com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
      5. com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)
      6. com.install4j.runtime.installer.Installer.main(Unknown Source)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. com.exe4j.runtime
      LauncherEngine.launch
      1. com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
      1 frame
    6. com.install4j.runtime
      Launcher.main
      1. com.install4j.runtime.launcher.Launcher.main(Unknown Source)
      1 frame