Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

error: unable to find library -lunwind #379

@hpelitebook745G2

Description

@hpelitebook745G2
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions