flutter-pi icon indicating copy to clipboard operation
flutter-pi copied to clipboard

Shared Object not found (libmetadata_god.so)

Open krush62 opened this issue 8 months ago • 3 comments

Thank you very much for this incredible project. Your work makes life much easier. Vielen, vielen Dank!

I created a small media player application that I would like to run on my RaspberrryPi4. The setup went through smoothly (The asset bundle was created using Debian). My project uses the plugin metadata_god. When running the project using flutter-pi --release an unhandled exception is thrown:

Failed to load dynamic library 'libmetadata_god.so': libmetadata_god.so: cannot open shared object file: No such file or directory.

The library itself is present on the Debian machine but absent in the flutter_assets directory. I tried to copy the file from build\native_assets\linux to the assets base directory before copying it to the pi, but without success.

What am I doing wrong?

krush62 avatar May 03 '25 09:05 krush62

Is this probably related to #448 ?

krush62 avatar May 03 '25 09:05 krush62

Hey @krush62

thanks for the kind words!

Yes, this is indeed the same problem as #448 . Unfortunately linux desktop plugins are not compatible with flutter-pi, because they have their own build system which does not work with flutter-pi/flutterpi_tool. That applies to metadata_god as well

ardera avatar May 05 '25 14:05 ardera

Understood! Thanks for the clarification.

krush62 avatar May 05 '25 18:05 krush62