diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2023-08-28 03:02:17 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2023-08-28 13:31:02 +0000 |
| commit | f006023b2281e179374b56db196d03911fad3680 (patch) | |
| tree | e6f6910368688194a0088a29449ade1d63ee8e0a | |
| parent | d4b3aefdf94fe401f6bfc93a33b69e21dd7a634a (diff) | |
librt: Chase 315ee00fa961, fixing boot
libzfs uses librt as a dependency. Following 315ee00fa961 systems with
a separate / and /usr will fail to load the libzfs.so library because
librt.so is not available due to the fact that /usr is not mounted yet.
Install librt in /lib making it available to libzfs.
Reported by: emaste, imp
Fixes: 315ee00fa961
Differential Revision: https://reviews.freebsd.org/D41612
| -rw-r--r-- | ObsoleteFiles.inc | 3 | ||||
| -rw-r--r-- | lib/librt/Makefile | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index c2780a84eb6d..b901dd2874c1 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -51,6 +51,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20230828 +MOVED_LIBS+=usr/lib/librt.so.1 + # 20230826: OLD_FILES+=usr/share/man/man9/knlist_remove_inevent.9.gz diff --git a/lib/librt/Makefile b/lib/librt/Makefile index 9a54c3ea2812..8b880c41ec44 100644 --- a/lib/librt/Makefile +++ b/lib/librt/Makefile @@ -3,6 +3,7 @@ PACKAGE=clibs LIB=rt +SHLIBDIR=/lib SHLIB_MAJOR= 1 CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR} .ifndef NO_THREAD_STACK_UNWIND |
