File tree Expand file tree Collapse file tree 1 file changed +32
-3
lines changed Expand file tree Collapse file tree 1 file changed +32
-3
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,39 @@ export CPPFLAGS="$COMMON_FLAGS"
9595 --prefix=" $PREFIX " \
9696 --without-selinux
9797
98+ # Build and install
9899# Build and install
99100make -j" $( nproc) "
100101make install
101102
102- # Check installed glibc
103- " $PREFIX /lib/ld-2.29.so" --version || true
104- " $PREFIX /lib/libc.so.6" --version || true
103+ echo " >>> Finished make install"
104+ echo " >>> PREFIX=$PREFIX "
105+
106+ # List everything under $PREFIX
107+ echo " >>> ls -l $PREFIX "
108+ ls -l " $PREFIX " || true
109+
110+ echo " >>> ls -l $PREFIX /lib"
111+ ls -l " $PREFIX /lib" || true
112+
113+ echo " >>> ls -l $PREFIX /lib64"
114+ ls -l " $PREFIX /lib64" || true
115+
116+ # Explicitly show libc/ld files
117+ echo " >>> Checking for libc.so.6"
118+ if [ -e " $PREFIX /lib/libc.so.6" ]; then
119+ ls -l " $PREFIX /lib/libc.so.6"
120+ else
121+ echo " libc.so.6 NOT FOUND in $PREFIX /lib"
122+ fi
123+
124+ echo " >>> Checking for ld-2.29.so"
125+ if [ -e " $PREFIX /lib/ld-2.29.so" ]; then
126+ ls -l " $PREFIX /lib/ld-2.29.so"
127+ else
128+ echo " ld-2.29.so NOT FOUND in $PREFIX /lib"
129+ fi
130+
131+ # Run version checks only if files exist
132+ [ -x " $PREFIX /lib/ld-2.29.so" ] && " $PREFIX /lib/ld-2.29.so" --version || echo " ld-2.29.so missing or not executable"
133+ [ -x " $PREFIX /lib/libc.so.6" ] && " $PREFIX /lib/libc.so.6" --version || echo " libc.so.6 missing or not executable"
You can’t perform that action at this time.
0 commit comments