[GH-ISSUE #1932] [Bug] Failed to load dynamic library 'libdart_ffi.so': libssl.so.1.1: cannot open shared object file: No such file or directory #757

Closed
opened 2026-03-23 20:40:47 +00:00 by mirror · 4 comments
Owner

Originally created by @Cyber-Syntax on GitHub (Mar 6, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1932

Bug Description

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so': libssl.so.1.1: cannot open shared object file: No such file or directory
#0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12)
#1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23)
#2      _open (package:appflowy_backend/ffi.dart:27)
#3      _dart_ffi_lib (package:appflowy_backend/ffi.dart:10)
#4      _set_stream_port (package:appflowy_backend/ffi.dart)
#5      set_stream_port (package:appflowy_backend/ffi.dart)
#6      FlowySDK.init (package:appflowy_backend/appflowy_backend.dart:32)
#7      InitRustSDKTask.initialize.<anonymous closure> (package:app_flowy/startup/tasks/rust_sdk.dart:24)
<asynchronous suspension>
#8      AppLauncher.launch (package:app_flowy/startup/startup.dart:124)
<asynchronous suspension>
#9      FlowyRunner.run (package:app_flowy/startup/startup.dart:64)
<asynchronous suspension>
#10     main (package:app_flowy/main.dart:25)
<asynchronous suspension>
(appflowy:61624): GLib-GObject-WARNING **: 14:09:41.190: ../../../gobject/gsignal.c:2765: instance '0xaa71b0' has no handler with id '177'

App opened with gray screen.

How to Reproduce

I don't know, I just installed it from terminal with deb package.

Expected Behavior

opening the application

Operating System

Pop-OS 22.04 LTS.

AppFlowy Version(s)

0.1.0

Screenshots

No response

Additional Context

No response

Originally created by @Cyber-Syntax on GitHub (Mar 6, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1932 ### Bug Description ``` [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so': libssl.so.1.1: cannot open shared object file: No such file or directory #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12) #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23) #2 _open (package:appflowy_backend/ffi.dart:27) #3 _dart_ffi_lib (package:appflowy_backend/ffi.dart:10) #4 _set_stream_port (package:appflowy_backend/ffi.dart) #5 set_stream_port (package:appflowy_backend/ffi.dart) #6 FlowySDK.init (package:appflowy_backend/appflowy_backend.dart:32) #7 InitRustSDKTask.initialize.<anonymous closure> (package:app_flowy/startup/tasks/rust_sdk.dart:24) <asynchronous suspension> #8 AppLauncher.launch (package:app_flowy/startup/startup.dart:124) <asynchronous suspension> #9 FlowyRunner.run (package:app_flowy/startup/startup.dart:64) <asynchronous suspension> #10 main (package:app_flowy/main.dart:25) <asynchronous suspension> (appflowy:61624): GLib-GObject-WARNING **: 14:09:41.190: ../../../gobject/gsignal.c:2765: instance '0xaa71b0' has no handler with id '177' ``` App opened with gray screen. ### How to Reproduce I don't know, I just installed it from terminal with deb package. ### Expected Behavior opening the application ### Operating System Pop-OS 22.04 LTS. ### AppFlowy Version(s) 0.1.0 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@rileyhawk1417 commented on GitHub (Mar 6, 2023):

@Cyber-Syntax what Linux distro are you running?

<!-- gh-comment-id:1456028937 --> @rileyhawk1417 commented on GitHub (Mar 6, 2023): @Cyber-Syntax what Linux distro are you running?
Author
Owner

@Cyber-Syntax commented on GitHub (Mar 6, 2023):

Pop-OS LTS.

<!-- gh-comment-id:1456156482 --> @Cyber-Syntax commented on GitHub (Mar 6, 2023): Pop-OS LTS.
Author
Owner

@rileyhawk1417 commented on GitHub (Mar 6, 2023):

You would need to install openssl, you can find information about it here
It has information about where to get openssl for Pop OS

<!-- gh-comment-id:1456186661 --> @rileyhawk1417 commented on GitHub (Mar 6, 2023): You would need to install openssl, you can find information about it [here](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-linux) It has information about where to get openssl for Pop OS
Author
Owner

@Cyber-Syntax commented on GitHub (Mar 8, 2023):

@rileyhawk1417 Thank you.
# Ubuntu & PopOS wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
Solved my problem.

<!-- gh-comment-id:1459985029 --> @Cyber-Syntax commented on GitHub (Mar 8, 2023): @rileyhawk1417 Thank you. `# Ubuntu & PopOS wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb` Solved my problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#757
No description provided.