-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Closed
Copy link
Labels
FreeBSDPlatform: FreeBSDPlatform: FreeBSDbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Description
Description
lldb and lld both depend on libxml2.so.2, but the package manager installs libxml2.so.16.
User-installed packages are kept pretty recent and libxml2 updates frequently. As a result, it leaves the Swift packages broken.
Reproduction
Download the tarball from swift.org and try to run lldb or lld from the toolchain:
% ~/.toolchains/swift/ci-2025-11-03/usr/bin/lldb --version
ld-elf.so.1: Shared object "libxml2.so.2" not found, required by "lldb"
Expected behavior
lld and lldb should work.
Environment
Swift version 6.3-dev (LLVM bff1370bd79c983, Swift 57cf4ce)
Target: x86_64-unknown-freebsd14.3
Build config: +assertions
Additional information
No response
Metadata
Metadata
Assignees
Labels
FreeBSDPlatform: FreeBSDPlatform: FreeBSDbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Type
Projects
Status
Done