Skip to content

Add support for build static libxml2 - #4

Open
windowsair wants to merge 1 commit into
cross-tools:mainfrom
windowsair:main
Open

Add support for build static libxml2#4
windowsair wants to merge 1 commit into
cross-tools:mainfrom
windowsair:main

Conversation

@windowsair

Copy link
Copy Markdown

Try to run toolchain:

$ aarch64-unknown-linux-musl-cc -v
/cross_root/bin/clang: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

LLVM requires the libxml2 library, but newer Debian and Ubuntu versions don't provide it. Link libxml2 statically instead to avoid runtime dependencies.

Try to run toolchain:

$ aarch64-unknown-linux-musl-cc -v
/cross_root/bin/clang: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

LLVM requires the libxml2 library, but newer Debian and Ubuntu
versions don't provide it. Link libxml2 statically instead to avoid
runtime dependencies.
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

Successfully merging this pull request may close these issues.

1 participant