Skip to content

CouchbaseLiteTester not running on linux #19

Open
@cosmicwanderer7

Description

@cosmicwanderer7

After building the CouchbaseLiteTester from source code and trying to run it on
OS: Linux Mint 21 x86_64
Kernel: 5.15.0-46-generic
it gives following output

prithvi@vaio-VPCCW16FG:~/Documents/projects/CouchbaseLiteTester/build$ sudo java -jar CBLiteTester.jar
[sudo] password for prithvi:     
=============================================================================
Couchbase CBLite Tester
Author: Amrish Raje
Repo: https://github.com/Infosys/CouchbaseLiteTester
License: https://github.com/Infosys/CouchbaseLiteTester/blob/master/LICENSE
=============================================================================
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
	at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: javafx.fxml.LoadException: 
file:/home/prithvi/Documents/projects/CouchbaseLiteTester/build/CBLiteTester.jar!/io/amrishraje/cblitetester/CBLiteScreen.fxml

	at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2707)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2685)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
	at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2517)
	at io.amrishraje.cblitetester.Main.loadFXML(Main.java:54)
	at io.amrishraje.cblitetester.Main.start(Main.java:41)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
	at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
	... 1 more
Caused by: java.lang.IllegalStateException: Cannot load native library for Linux/amd64
	at com.couchbase.lite.NativeLibrary.load(NativeLibrary.java:60)
	at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:54)
	at io.amrishraje.cblitetester.SyncController.createLocalCBLiteFile(SyncController.java:78)
	at io.amrishraje.cblitetester.MainController.initialize(MainController.java:203)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2655)
	... 13 more
Caused by: java.lang.UnsatisfiedLinkError: /tmp/com.couchbase.lite.java/native/43e3d889778e4b71d5fb9cd3031dbfe3/libLiteCore.so: libicuuc.so.54: cannot open shared object file: No such file or directory
	at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
	at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
	at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
	at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
	at java.base/java.lang.Runtime.load0(Runtime.java:768)
	at java.base/java.lang.System.load(System.java:1837)
	at com.couchbase.lite.NativeLibrary.load(NativeLibrary.java:55)
	... 17 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions