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

Troubleshooting Installation

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Stash does not start and the following appears in the atlassian-stash.log:

2012-11-14 15:14:51,328 ERROR [main]  o.s.web.context.ContextLoader Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'authenticationProvider' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationProvider' defined in URL [jar:file:/opt/stash/atlassian-stash/WEB-INF/lib/stash-service-impl-1.3.1.jar!/com/atlassian/stash/internal/user/AuthenticationProviderImpl.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.stash.user.UserService]: : Error creating bean with name 'userService' defined in URL [jar:file:/opt/stash/atlassian-stash/WEB-INF/lib/stash-service-impl-1.3.1.jar!/com/atlassian/stash/internal/user/UserServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 5 of type [com.octo.captcha.service.CaptchaService]: : Error creating bean with name 'imageCaptchaService' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageCaptchaService' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in URL [jar:file:/opt/stash/atlassian-stash/WEB-INF/lib/stash-service-impl-1.3.1.jar!/com/atlassian/stash/internal/user/UserServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 5 of type [com.octo.captcha.service.CaptchaService]: : Error creating bean with name 'imageCaptchaService' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageCaptchaService' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
...
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationProvider' defined in URL [jar:file:/opt/stash/atlassian-stash/WEB-INF/lib/stash-service-impl-1.3.1.jar!/com/atlassian/stash/internal/user/AuthenticationProviderImpl.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.stash.user.UserService]: : Error creating bean with name 'userService' defined in URL [jar:file:/opt/stash/atlassian-stash/WEB-INF/lib/stash-service-impl-1.3.1.jar!/com/atlassian/stash/internal/user/UserServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 5 of type [com.octo.captcha.service.CaptchaService]: : Error creating bean with name 'imageCaptchaService' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageCaptchaService' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in URL [jar:file:/opt/stash/atlassian-stash/WEB-INF/lib/stash-service-impl-1.3.1.jar!/com/atlassian/stash/internal/user/UserServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 5 of type [com.octo.captcha.service.CaptchaService]: : Error creating bean with name 'imageCaptchaService' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageCaptchaService' defined in class path resource [stash-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
...
Caused by: java.lang.UnsatisfiedLinkError: /usr/java/jdk1.7.0_09/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory

原因

Stash is complaining about a library dependency, libgcc_s.so.1

ソリューション

Install the libgcc_s.so.1 package and after that, try to start Stash again:

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

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.