@@ -200,7 +200,29 @@ function install_deps_el9() {
200200 /opt/golang/go/bin/go install github.com/asdf-vm/asdf/cmd/
[email protected] 201201 install /root/go/bin/asdf /usr/local/bin/asdf
202202 asdf plugin add python https://github.com/asdf-community/asdf-python.git
203+ echo " === DEBUGGING GLIBC DEPENDENCIES ==="
204+ echo " System GLIBC version:"
205+ ldd --version
206+
207+ echo " === BEFORE asdf install: System GLIBC symbols available ==="
208+ echo " Available GLIBC versions in system:"
209+ find /lib* /usr/lib* -name " libc.so.*" -exec strings {} \; 2> /dev/null | grep " GLIBC_" | sort -V | uniq | tail -10
210+
211+ echo " === Installing Python with asdf (will show if it downloads pre-compiled vs compiles) ==="
212+ # First, try normal installation to see what happens
203213 asdf install python 3.10.18
214+
215+ echo " === POST asdf install: Checking Python GLIBC dependencies ==="
216+ echo " Python binary dependencies:"
217+ ldd /root/.asdf/installs/python/3.10.18/bin/python
218+
219+ echo " === All GLIBC versions required by Python installation ==="
220+ find /root/.asdf/installs/python/3.10.18 -name " *.so*" -exec ldd {} \; 2> /dev/null | grep " GLIBC_" | sort -V | uniq
221+
222+ echo " === Checking libgcc_s.so.1 specifically ==="
223+ find /root/.asdf/installs/python/3.10.18 -name " *libgcc*" -exec ls -la {} \; 2> /dev/null || echo " No libgcc files found"
224+ echo " === libgcc GLIBC requirements ==="
225+ find /root/.asdf/installs/python/3.10.18 -name " *libgcc*" -exec ldd {} \; 2> /dev/null | grep " GLIBC_" | sort -V | uniq || echo " No libgcc GLIBC dependencies to check"
204226 asdf set python 3.10.18
205227 echo " python 3.10.18" > /.tool-versions
206228 echo " python 3.10.18" > /root/.tool-versions
0 commit comments