title: Alpine python3 Error relocating /usr/lib/libpython3.6m.so.1.0: getrandom: symbol not found
body: <p>After installing latest alpine ( 3.8 ) with python I got following error</p>
  
  <pre><code>$ docker run -it alpine:3.8 sh
  / # sed -i -e 's/v[[:digit:]]\.[[:digit:]]/edge/g' /etc/apk/repositories
  / # apk add python3
  fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
  fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
  (1/11) Installing libbz2 (1.0.6-r6)
  (2/11) Installing expat (2.2.6-r0)
  (3/11) Installing libffi (3.2.1-r5)
  (4/11) Installing gdbm (1.13-r1)
  (5/11) Installing xz-libs (5.2.4-r0)
  (6/11) Installing ncurses-terminfo-base (6.1_p20180818-r1)
  (7/11) Installing ncurses-terminfo (6.1_p20180818-r1)
  (8/11) Installing ncurses-libs (6.1_p20180818-r1)
  (9/11) Installing readline (7.0.003-r1)
  (10/11) Installing sqlite-libs (3.24.0-r1)
  (11/11) Installing python3 (3.6.6-r2)
  Executing busybox-1.28.4-r1.trigger
  OK: 67 MiB in 24 packages
  
  / # python3
  Error relocating /usr/lib/libpython3.6m.so.1.0: getrandom: symbol not found
  </code></pre>
  
  <p>For some reason libpython3.6m.so.1.0 is not compatible with alpine </p>