java.lang.UnsatisfiedLinkError: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Tomcat native lib error

    Stack Overflow | 6 months ago | Vladimir Aristarkhov
    java.lang.UnsatisfiedLinkError: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
  2. 0

    tomcat 8.5.5 tcnative undefined symbol BN_get_rfc3526_prime_8192

    Server Fault | 5 months ago | YBS
    java.lang.UnsatisfiedLinkError: /usr/local/apr/lib/libtcnative-1.so.0.2.10: /usr/local/apr/lib/libtcnative-1.so.0.2.10: undefined symbol: BN_get_rfc3526_prime_8192
  3. 0

    tomcat 8.5.5 tcnative undefined symbol

    Stack Overflow | 7 months ago | YBS
    java.lang.UnsatisfiedLinkError: $CATALINA_HOME/lib/libtcnative-1.so.0.2.8: $CATALINA_HOME/lib/libtcnative-1.so.0.2.8: undefined symbol: BN_get_rfc3526_prime_8192
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 25#279188478

    GitHub | 2 months ago | carlosrodriguez85
    java.lang.UnsatisfiedLinkError: /biserver-ce/tomcat/lib/libtcnative-1.so.0.2.8: libapr-1.so.0: cannot open shared object file: No such file or directory
  6. 0

    netty-tcnative tomcat issue on ubuntu (14.04)

    Google Groups | 1 year ago | Unknown author
    java.lang.UnsatisfiedLinkError: no provided in java.library.path
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

    /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: /usr/share/apache-tomcat-9.0.0.M10/lib/libtcnative-1.so.0.2.8: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.loadLibrary
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    4. java.lang.Runtime.loadLibrary0(Runtime.java:870)
    5. java.lang.System.loadLibrary(System.java:1122)
    5 frames
  3. org.apache.tomcat
    Library.initialize
    1. org.apache.tomcat.jni.Library.<init>(Library.java:42)
    2. org.apache.tomcat.jni.Library.initialize(Library.java:178)
    2 frames
  4. Glassfish Core
    Digester.startElement
    1. org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:198)
    2. org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:107)
    3. org.apache.catalina.connector.Connector.setProtocol(Connector.java:545)
    4. org.apache.catalina.connector.Connector.<init>(Connector.java:70)
    5. org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:64)
    6. org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1203)
    6 frames
  5. Java RT
    SAXParserImpl$JAXPSAXParser.parse
    1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
    2. com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
    3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1338)
    4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2781)
    5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
    6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
    7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
    8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
    11 frames
  6. Glassfish Core
    Catalina.load
    1. org.apache.tomcat.util.digester.Digester.parse(Digester.java:1476)
    2. org.apache.catalina.startup.Catalina.load(Catalina.java:578)
    3. org.apache.catalina.startup.Catalina.load(Catalina.java:629)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  8. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)
    2 frames