Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: unable to find library -lunwind #379

Open
hpelitebook745G2 opened this issue Jan 5, 2024 · 1 comment
Open

error: unable to find library -lunwind #379

hpelitebook745G2 opened this issue Jan 5, 2024 · 1 comment

Comments

@hpelitebook745G2
Copy link

  1. Cloned didkit and ssi in the same level in a folder
  2. Ran cargo build in the didkit root folder
  3. Ran cd ./lib
  4. Ran make ../target/test/android.stamp

Got this error:

error: linking with `i686-linux-android19-clang` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="... "-o" "~/Desktop/didkit/target/i686-linux-android/release/deps/libdidkit.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
  = note: ld: error: unable to find library -lunwind
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `didkit` (lib) due to previous error
make: *** [../target/i686-linux-android/release/libdidkit.so] Error 101"

I ran brew install lunwind:

➜  lib git:(main) ✗ brew install lunwind 
Warning: No available formula with the name "lunwind". Did you mean luabind or libunwind?
==> Searching for similarly named formulae and casks...
==> Formulae
luabind

To install luabind, run:
  brew install luabind

I ran brew install luabind:

➜  lib git:(main) ✗ brew install luabind
Error: luabind has been disabled because it is not maintained upstream!

I ran brew install libunwind:

➜  lib git:(main) ✗ brew install libunwind
libunwind: Linux is required for this software.
Error: libunwind: An unsatisfied requirement failed this build.
@shabaad
Copy link

shabaad commented Feb 22, 2024

Use forked repository https://github.com/alan-turing-institute/trustchain-mobile.git
and follow the instructions from install_trustchain_mobile.md file to setup the project.
This is updated latest repo.
Android and iOS running successfully without any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants