java.lang.UnsatisfiedLinkError: /Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: no suitable image found. Did find: /Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: mach-o, but wrong architecture /Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: mach-o, but wrong architecture

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Solutions on the web

via schemaspy by jdanilson
, 1 year ago
/Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: no suitable image found. Did find: /Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: mach-o, but wrong architecture /Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: mach-o, but wrong architecture
via Oracle Community by 843829, 1 year ago
C:\oracle\product\10.2.0\db_1\BIN\ocijdbc10.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
via Oracle Community by 504963, 1 year ago
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libocijdbc10.so: libclntsh.so.10.1: cannot open shared object file: No such file or directory
via Oracle Community by 534369, 1 year ago
<ORACLE_HOME>/lib/libocijdbc10.so: <ORACLE_HOME>/lib/libocijdbc10.so: cannot open shared object file: No such file or directory
via Oracle Community by absriram, 1 year ago
D:\oraclexe\app\oracle\product\10.2.0\server\BIN\ocijdbc10.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
via Stack Overflow by KaushikV
, 2 years ago
C:\oraclexe\app\oracle\product\11.2.0\server\bin\ocijdbc11.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
java.lang.UnsatisfiedLinkError: /Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: no suitable image found. Did find: /Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: mach-o, but wrong architecture /Users/oracle/product/10.2.0/db\_1/lib/libocijdbc10.jnilib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3146)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3142)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:220)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:440)
at oracle.jdbc.driver.T2CConnection.(T2CConnection.java:131)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
at net.sourceforge.schemaspy.SchemaAnalyzer.getConnection(SchemaAnalyzer.java:481)
at net.sourceforge.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:114)
at net.sourceforge.schemaspy.Main.main(Main.java:21)

Users with the same issue

48 times, 3 weeks ago
Once, 1 month ago
Once, 6 months ago
Once, 1 year ago
14 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.