Browse Source

fix missing libraries on newer coreos versions

pull/3034/head
cornelius-keller 6 years ago
committed by Cornelius Keller
parent
commit
4b5cb1185f
1 changed files with 5 additions and 1 deletions
  1. 6
      roles/bootstrap-os/files/bootstrap.sh

6
roles/bootstrap-os/files/bootstrap.sh

@ -18,7 +18,11 @@ mv -n pypy-$PYPY_VERSION-linux64 pypy
## library fixup ## library fixup
mkdir -p pypy/lib mkdir -p pypy/lib
ln -snf /lib64/libncurses.so.5.9 $BINDIR/pypy/lib/libtinfo.so.5
if [ -f /lib64/libncurses.so.5.9 ]; then
ln -snf /lib64/libncurses.so.5.9 $BINDIR/pypy/lib/libtinfo.so.5
elif [ -f /lib64/libncurses.so.6.1 ]; then
ln -snf /lib64/libncurses.so.6.1 $BINDIR/pypy/lib/libtinfo.so.5
fi
cat > $BINDIR/python <<EOF cat > $BINDIR/python <<EOF
#!/bin/bash #!/bin/bash

Loading…
Cancel
Save