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

didkit build error #109

Open
cgair opened this issue Nov 29, 2022 · 1 comment
Open

didkit build error #109

cgair opened this issue Nov 29, 2022 · 1 comment

Comments

@cgair
Copy link

cgair commented Nov 29, 2022

while I was building credible, following the steps in README, I had some problem running

 make -C lib ../target/test/android.stamp

error:

// snip..
"-Wl,-Bdynamic" "-ldl" "-llog" "-lunwind" "-ldl" "-lm" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/uni01/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/i686-linux-android/lib" "-o" "/home/uni01/spruceid/didkit/target/i686-linux-android/release/deps/libdidkit.so" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: ld: error: unable to find library -lunwind

however I have libunwind installed on my system

libunwind.so
libunwind.so.8
libunwind.so.8.0.1
libunwind-x86_64.a
libunwind-x86_64.so
libunwind-x86_64.so.8
libunwind-x86_64.so.8.0.1

and about LD_LIBRARY_PATH:

/usr/lib/x86_64-linux-gnu

so what is going on and what i have missed?

@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