Skip to content

Commit

Permalink
[adopt: #4504] README: Add libunwind-dev to list of dependencies for …
Browse files Browse the repository at this point in the history
…Debian (#4512)

Without this installed the build on Debian still works, but the
following error is produced when you try to run `kompile`:

    ld.lld: error: unable to find library -lunwind
    clang: error: linker command failed with exit code 1...

There is no need to rebuild the K framework after installing
`libunwind-dev`; it's just the shared library in its dependency
`libunwind8` that we need to fix this. (But we use `libunwind-dev` in
the README anyway for consistency.)

This is apparently not seen on MacOS, probably because -lunwind because
it's a part of LLVM there.

> This is an adopted PR from @0cjs (#4504)

Co-authored-by: Curt J. Sampson <[email protected]>
Co-authored-by: rv-jenkins <[email protected]>
  • Loading branch information
3 people authored Jul 10, 2024
1 parent 67ffc46 commit 4a5587c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ sudo apt-get install \
libjemalloc-dev \
libmpfr-dev \
libsecp256k1-dev \
libunwind-dev \
libyaml-dev \
libz3-dev \
lld-15 \
Expand Down

0 comments on commit 4a5587c

Please sign in to comment.