[Bug bzip2/34271] New: build: self-test fails on macOS when linking dynamically
pepe.schlehofer at gmail dot com
sourceware-bugzilla@sourceware.org
Tue Jun 9 09:42:10 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=34271
Bug ID: 34271
Summary: build: self-test fails on macOS when linking
dynamically
Product: bzip2
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bzip2
Assignee: nobody at sourceware dot org
Reporter: pepe.schlehofer at gmail dot com
CC: bzip2-devel at sourceware dot org
Target Milestone: ---
Created attachment 16780
--> https://sourceware.org/bugzilla/attachment.cgi?id=16780&action=edit
Patch to fix this
When building the hostpkg variant of package/utils/bzip2 on macOS for OpenWrt,
the compilation fails during the test phase of the build process with the
following error:
./bzip2 -1 < sample1.ref > sample1.rb2
dyld[8072]: Library not loaded: @rpath/libbz2.1.dylib
Referenced from: /foo/build/build_dir/hostpkg/bzip2-1.0.8/bzip2
Reason: no LC_RPATH's found
/bin/sh: line 1: 8072 Abort trap: 6 ./bzip2 -1 < sample1.ref >
sample1.rb2
make[3]: *** [Makefile:58: test] Error 134
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Bzip2-devel
mailing list