title: relocation error: libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
body: <p>Our company made one application which work on electron version 1.8.2. When someone open the application on Centos 6.x below error is occur</p>
  
  <p><code>Segmentation fault (core dumped)</code></p>
  
  <p>I made a script with the help of <a href="https://github.com/electron/electron/issues/1172" rel="nofollow noreferrer">link</a>:</p>
  
  <pre><code>#!/bin/bash
  LDDVERSION="$(ldd --version | awk '/ldd/{print $NF}')"
  requiredVersion=2.17
  SRC_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )" &amp;&amp; pwd )
  glibpath=$SRC_PATH/gcc
  export glibpath="$SRC_PATH/gcc"
  if (( $(echo "$LDDVERSION &lt; $requiredVersion" |bc -l) )); then
  echo "Loading GCC"
  export LD_LIBRARY_PATH=$glibpath/glib-2.49.4-kgesagxmtbemim2denf65on4iixy3miy/lib:$LD_LIBRARY_PATH;
  export LD_LIBRARY_PATH=$glibpath/libffi-3.2.1-wk2luzhfdpbievnqqtu24pi774esyqye/lib64:$LD_LIBRARY_PATH;
  export LD_LIBRARY_PATH=$glibpath/pcre-8.39-itdbuzevbtzqeqrvna47wstwczud67wx/lib:$LD_LIBRARY_PATH;
  export LD_LIBRARY_PATH=$glibpath/gettext-0.19.8.1-aoweyaoufujdlobl7dphb2gdrhuhikil/lib:$LD_LIBRARY_PATH;
  fi
  $SRC_PATH/myapp
  </code></pre>
  
  <p>It works fine on electron version 1.8.2 but when I change electron version 1.8.3. Below error is getting.</p>
  
  <blockquote>
    <p>'libc.so.6: version 'GLIBC_2.15' not found`</p>
  </blockquote>
  
  <p>Then I checked via command:</p>
  
  <pre><code>**$ strings libc.so.6 |grep GLIBC**
  GLIBC_2.2.5
  GLIBC_2.2.6
  GLIBC_2.3
  GLIBC_2.3.2
  GLIBC_2.3.3
  GLIBC_2.3.4
  GLIBC_2.4
  GLIBC_2.5
  GLIBC_2.6
  GLIBC_2.7
  GLIBC_2.8
  GLIBC_2.9
  GLIBC_2.10
  GLIBC_2.11
  GLIBC_2.12
  GLIBC_2.13
  GLIBC_2.14
  GLIBC_PRIVATE
  </code></pre>
  
  <p>After some research I find libc.so.6 file in Google Chrome lib folder</p>
  
  <pre><code>strings /opt/google/chrome/lib/libc.so.6 |grep GLIBC
  GLIBC_2.2.5
  GLIBC_2.2.6
  GLIBC_2.3
  GLIBC_2.3.2
  GLIBC_2.3.3
  GLIBC_2.3.4
  GLIBC_2.4
  GLIBC_2.5
  GLIBC_2.6
  GLIBC_2.7
  GLIBC_2.8
  GLIBC_2.9
  GLIBC_2.10
  GLIBC_2.11
  GLIBC_2.12
  GLIBC_2.13
  GLIBC_2.14
  GLIBC_2.15
  GLIBC_2.16
  GLIBC_2.17
  GLIBC_PRIVATE
  </code></pre>
  
  <p>So I changed this file to my old libc.so.6 file. After that I facing below error.</p>
  
  <blockquote>
    <p>relocation error: libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
    ./myscript.sh: line 14: 30656 Segmentation fault      (core dumped) $SRC_PATH/myapp</p>
  </blockquote>
  
  <p>Sorry for my poor english</p>