[GH-ISSUE #742] [Bug] App d'o nt run in Fedora 36 #317

Closed
opened 2026-03-23 20:35:23 +00:00 by mirror · 9 comments
Owner

Originally created by @yodatak on GitHub (Jul 30, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/742

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Fedora 36
./app_flowy
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so': libssl.so.1.1: No file
#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:flowy_sdk/ffi.dart:23)
#3 _dl (package:flowy_sdk/ffi.dart:10)
#4 _set_stream_port (package:flowy_sdk/ffi.dart)
#5 set_stream_port (package:flowy_sdk/ffi.dart)
#6 FlowySDK.init (package:flowy_sdk/flowy_sdk.dart:32)
#7 InitRustSDKTask.initialize. (package:app_flowy/startup/tasks/rust_sdk.dart:13)
#8 InitRustSDKTask.initialize. (package:app_flowy/startup/tasks/rust_sdk.dart:12)
#9 _rootRunUnary (dart:async/zone.dart:1434)

#10 InitRustSDKTask.initialize (package:app_flowy/startup/tasks/rust_sdk.dart:12)

#11 AppLauncher.launch (package:app_flowy/startup/startup.dart:99)

Originally created by @yodatak on GitHub (Jul 30, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/742 **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: Fedora 36 ./app_flowy [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so': libssl.so.1.1: No file #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:flowy_sdk/ffi.dart:23) #3 _dl (package:flowy_sdk/ffi.dart:10) #4 _set_stream_port (package:flowy_sdk/ffi.dart) #5 set_stream_port (package:flowy_sdk/ffi.dart) #6 FlowySDK.init (package:flowy_sdk/flowy_sdk.dart:32) #7 InitRustSDKTask.initialize.<anonymous closure> (package:app_flowy/startup/tasks/rust_sdk.dart:13) #8 InitRustSDKTask.initialize.<anonymous closure> (package:app_flowy/startup/tasks/rust_sdk.dart:12) #9 _rootRunUnary (dart:async/zone.dart:1434) <asynchronous suspension> #10 InitRustSDKTask.initialize (package:app_flowy/startup/tasks/rust_sdk.dart:12) <asynchronous suspension> #11 AppLauncher.launch (package:app_flowy/startup/startup.dart:99) <asynchronous suspension>
Author
Owner

@LinkTTT commented on GitHub (Aug 2, 2022):

You can fix this by installing openssl1.1
sudo dnf install openssl1.1

<!-- gh-comment-id:1202693861 --> @LinkTTT commented on GitHub (Aug 2, 2022): You can fix this by installing openssl1.1 `sudo dnf install openssl1.1`
Author
Owner

@apomalyn commented on GitHub (Aug 9, 2022):

@yodatak were you able to test the solution proposed by LinkTTT?
If that resolved your issue, would you mind closing this issue? 😄

<!-- gh-comment-id:1209455660 --> @apomalyn commented on GitHub (Aug 9, 2022): @yodatak were you able to test the solution proposed by LinkTTT? If that resolved your issue, would you mind closing this issue? 😄
Author
Owner

@yodatak commented on GitHub (Aug 17, 2022):

It work now thanks but i think we have to documentation this or remove this old dependency or flatpak it ;)

<!-- gh-comment-id:1218442944 --> @yodatak commented on GitHub (Aug 17, 2022): It work now thanks but i think we have to documentation this or remove this old dependency or flatpak it ;)
Author
Owner

@MindSetFPS commented on GitHub (Feb 16, 2023):

Didn´t work for me, fodora 37.

<!-- gh-comment-id:1433796212 --> @MindSetFPS commented on GitHub (Feb 16, 2023): Didn´t work for me, fodora 37.
Author
Owner

@Anvith00 commented on GitHub (Feb 17, 2023):

@MindSetFPS You'll require installing the openssl-devel package in Fedora.

sudo dnf install openssl-devel

If you are however building from source, these are the packages you'll need to install:

sudo dnf install sqlite-devel keybinder3-devel clang cmake ninja-build openssl-devel

(I will make a PR for Fedora in Building in Linux.md)

<!-- gh-comment-id:1434298487 --> @Anvith00 commented on GitHub (Feb 17, 2023): @MindSetFPS You'll require installing the `openssl-devel` package in Fedora. ```bash sudo dnf install openssl-devel ``` If you are however building from source, these are the packages you'll need to install: ```bash sudo dnf install sqlite-devel keybinder3-devel clang cmake ninja-build openssl-devel ``` (I will make a PR for Fedora in [Building in Linux.md](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-linux))
Author
Owner

@yodatak commented on GitHub (Feb 17, 2023):

In the flatapk version if don't fix anything because it had to be bundle with flatpak but why we need a so old library bytheway

<!-- gh-comment-id:1434898970 --> @yodatak commented on GitHub (Feb 17, 2023): In the flatapk version if don't fix anything because it had to be bundle with flatpak but why we need a so old library bytheway
Author
Owner

@yodatak commented on GitHub (Feb 17, 2023):

and the packages is deprecated in Fedora
https://fedoraproject.org/wiki/Changes/DeprecateOpensslCompat

<!-- gh-comment-id:1435033077 --> @yodatak commented on GitHub (Feb 17, 2023): and the packages is deprecated in Fedora https://fedoraproject.org/wiki/Changes/DeprecateOpensslCompat
Author
Owner

@Anvith00 commented on GitHub (Feb 17, 2023):

The maintainer for the flatpak build has been attempting over ways to include the openssl package inside the Flatpak.

openssl1.1 was the previous LTS version and has been thus deprecated, except for the older distro releases (Fedora 35). The current openssl and openssl-devel are the latest LTS versions (3.0). I have built from source with openssl-devel (version 3.0) with success.

<!-- gh-comment-id:1435124295 --> @Anvith00 commented on GitHub (Feb 17, 2023): The maintainer for the flatpak build has been attempting over ways to include the openssl package inside the Flatpak. `openssl1.1` was the previous LTS version and has been thus deprecated, except for the older distro releases (Fedora 35). The current `openssl` and `openssl-devel` are the latest LTS versions (3.0). I have built from source with openssl-devel (version 3.0) with success.
Author
Owner

@Anvith00 commented on GitHub (Feb 17, 2023):

@yodatak If you're trying to run the tarball release, make sure you have openssl (or openssl-devel) and keybinder-3 installed.

<!-- gh-comment-id:1435128915 --> @Anvith00 commented on GitHub (Feb 17, 2023): @yodatak If you're trying to run the tarball release, make sure you have `openssl` (or `openssl-devel`) and `keybinder-3` installed.
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#317
No description provided.