SQLcl Fails With Exception in thread main java.lang.UnsatisfiedLinkError Could not load library
(Doc ID 2778399.1)
Last updated on NOVEMBER 17, 2023
Applies to:
Oracle SQLcl - Version 19.1 to 21.4 [Release 19 to 21]Information in this document applies to any platform.
Symptoms
This is new Install of database on a new Linux Box. While starting sql ( SQLcl), it fails.
Same behavior with standalone SQLcl
Error as seen is
> sql /nolog
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, /tmp/libjansi-64-2293156899223448948.so: /tmp/libjansi-64-2293156899223448948.so: failed to map segment from shared object]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.CLibrary.(CLibrary.java:42)
at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
at org.fusesource.jansi.AnsiConsole.(AnsiConsole.java:38)
at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(SqlCli.java:435)
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, /tmp/libjansi-64-2293156899223448948.so: /tmp/libjansi-64-2293156899223448948.so: failed to map segment from shared object]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.CLibrary.(CLibrary.java:42)
at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
at org.fusesource.jansi.AnsiConsole.(AnsiConsole.java:38)
at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(SqlCli.java:435)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |