[lfs] 03/03: Bzip2: Don't rely on ldconfig for ML lib symlinks.

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch multilib
in repository lfs.

commit 70e90951a3bd863c802d58a8bdbee33d98e41234
Author: Zeckmathederg <[email protected]>
AuthorDate: Sat Jan 31 18:36:27 2026 -0700

    Bzip2: Don't rely on ldconfig for ML lib symlinks.
    
    A user had mentioned in the Discord server that because
    `ln -sf libbz2.so.1.0.8 $libdir/libbz2.so.1.0` was removed, it caused
    issues for future package building like for File. Their issue was that
    ldconfig wasn't picking up $libdir, in this case /usr/lib32. Either
    way, we shouldn't rely on ldconfig and can't assume it to have been ran
    after Bzip2 but before File. Let's be safe and trusty.
---
 chapter08/bzip2.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/chapter08/bzip2.xml b/chapter08/bzip2.xml
index 7ccb1b6a1..4fe648309 100644
--- a/chapter08/bzip2.xml
+++ b/chapter08/bzip2.xml
@@ -145,7 +145,8 @@ make -f Makefile-libbz2_so</userinput></screen>
 
 <screen><userinput remap="install">install -Dm755 libbz2.so.1.0.8 /usr/lib32/libbz2.so.1.0.8
 ln -sf libbz2.so.1.0.8 /usr/lib32/libbz2.so
-ln -sf libbz2.so.1.0.8 /usr/lib32/libbz2.so.1</userinput></screen>
+ln -sf libbz2.so.1.0.8 /usr/lib32/libbz2.so.1
+ln -sf libbz2.so.1.0.8 /usr/lib32/libbz2.so.1.0</userinput></screen>
 
   </sect2><!-- m32 -->
 
@@ -170,7 +171,8 @@ make -f Makefile-libbz2_so</userinput></screen>
 
 <screen><userinput remap="install">install -Dm755 libbz2.so.1.0.8 /usr/libx32/libbz2.so.1.0.8
 ln -sf libbz2.so.1.0.8 /usr/libx32/libbz2.so
-ln -sf libbz2.so.1.0.8 /usr/libx32/libbz2.so.1</userinput></screen>
+ln -sf libbz2.so.1.0.8 /usr/libx32/libbz2.so.1
+ln -sf libbz2.so.1.0.8 /usr/libx32/libbz2.so.1.0</userinput></screen>
 
   </sect2><!-- mx32 -->
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.