-
Notifications
You must be signed in to change notification settings - Fork 14
Unable to load libtor.so #36
Copy link
Copy link
Open
Labels
Description
Does anyone encounter the same problem unable to load libtor.so, when flutter run?
Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libtor.so': dlopen failed: cannot locate symbol "__extenddftf2" referenced by "/data/app/~~rTNkc4SQHo-7fdh2bp_IVA==/com.example.flutter_project1-DWd49BnV_9C021gZ0N8MVQ==/lib/x86_64/libtor.so"...
I was able to run the official example ~/.pub-cache/hosted/pub.dev/tor-0.0.3/example/ that came with this Flutter package tor without any problem, but running the same example in my new PC, that has newer versions of everything, I got the error mentioned.
These are my tools that built the Android app that has the runtime error mentioned:
- Flutter version: 3.19.6
- Dart version: 3.3.4
- Rust & Cargo version: 1.77.2
- Cargo NDK version: 3.5.4
- Linux distro: MX-23.2_x64 Libretto January 21, 2024
By the way, the instruction in GitHub - Foundation-Devices/tor: Tor plugin for Flutter is kind of confusing.
- Is pulling Cargokit into our Flutter project still a prerequsite, since these is
~/.pub-cache/hosted/pub.dev/tor-0.0.3/cargokitthat came with Flutter package tor-0.0.3? - Will it be more clear if we change "To (re)generate Dart bindings run
just generate" to "To (re)generate Dart bindings,runjust generate"?
Reactions are currently unavailable