Submission checklist
Description
I’m running into an issue on GitHub Actions where jobs using Ubuntu 22.04 fail to load the dynamic library librive_native.so, even after running dart run rive_native:setup --verbose --clean --platform linux.
Ubuntu 24.04 does not appear to have this issue, and the tests pass there without any problems.
The failure was first identified on my company’s self-hosted custom runners, which are based on Ubuntu 22.04. Since those runners cannot be upgraded for now, this issue is currently blocking us.
I’m aware that there is also a --build option, although I haven’t tested it yet. Since it requires additional system packages and tooling to be installed, I would prefer to avoid that route unless it is strictly necessary. Using the existing prebuilt binaries would be preferable.
I’ve attached screenshots from the runs available in my public repo, which I created specifically to reproduce the issue.
Reproduction steps / code
dart run rive_native:setup --verbose --clean --platform linux
flutter test
Upload your reproduction files / stack trace
No response
Source .riv / .rev file
No response
Screenshots / video
22_04.png
24_04.png
Rive Flutter package version
0.14.6
Flutter version
Flutter 3.35.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9f455d2486 (7 months ago) • 2025-10-08 14:55:31 -0500
Engine • hash a5f2c36e367c13f868cfe98db5806f562c52c35e (revision d2913632a4) (6 months ago) • 2025-10-07 17:26:21.000Z
Tools • Dart 3.9.2 • DevTools 2.48.0
Device
Linux
OS version
Ubuntu 22.04
Additional context
No response
Submission checklist
riveFlutter packageDescription
I’m running into an issue on GitHub Actions where jobs using Ubuntu 22.04 fail to load the dynamic library
librive_native.so, even after runningdart run rive_native:setup --verbose --clean --platform linux.Ubuntu 24.04 does not appear to have this issue, and the tests pass there without any problems.
The failure was first identified on my company’s self-hosted custom runners, which are based on Ubuntu 22.04. Since those runners cannot be upgraded for now, this issue is currently blocking us.
I’m aware that there is also a
--buildoption, although I haven’t tested it yet. Since it requires additional system packages and tooling to be installed, I would prefer to avoid that route unless it is strictly necessary. Using the existing prebuilt binaries would be preferable.I’ve attached screenshots from the runs available in my public repo, which I created specifically to reproduce the issue.
Reproduction steps / code
dart run rive_native:setup --verbose --clean --platform linux flutter testUpload your reproduction files / stack trace
No response
Source
.riv/.revfileNo response
Screenshots / video
22_04.png
24_04.png
Rive Flutter package version
0.14.6
Flutter version
Flutter 3.35.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9f455d2486 (7 months ago) • 2025-10-08 14:55:31 -0500
Engine • hash a5f2c36e367c13f868cfe98db5806f562c52c35e (revision d2913632a4) (6 months ago) • 2025-10-07 17:26:21.000Z
Tools • Dart 3.9.2 • DevTools 2.48.0
Device
Linux
OS version
Ubuntu 22.04
Additional context
No response