title: libgcc_s.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
body: <p>At first I warn that I/m not programmer, but administrator only I try to understand some actions</p>
  
  <p>When I installed program made by Oracle,  I got log message:</p>
  
  <p><code>/usr/bin/make -f ins_precomp.mk relink ORACLE_HOME=/u01/oracle/OraHome_1 EXENAME=proc/Linking /u01/oracle/OraHome_1/precomp/lib/proc<br>
  libgcc_s.so: undefined reference to</code>__stack_chk_fail@GLIBC_2.4'`</p>
  
  <p><code>ls -l<br>
  ../libgcc_s.so -&gt; /lib/libgcc_s.so.1</code></p>
  
  <p>so next I tried to diagnose by:</p>
  
  <p><strong>objdump -T /lib/libgcc_s.so.1 | grep __stack_chk_fail</strong><br>
  <code>00000000      DF *UND*  00000000  GLIBC_2.4   __stack_chk_fail</code></p>
  
  <p><em>and</em></p>
  
  <p><strong>ldd /lib/libgcc_s.so.1.ORG</strong><br>
  <code>linux-gate.so.1 =&gt;  (0x00fc5000)<br>
  libc.so.6 =&gt; /lib/libc.so.6 (0x00110000)<br>
  /lib/ld-linux.so.2 (0x00b39000)</code></p>
  
  <p><em>and</em></p>
  
  <p><strong>objdump -T /lib/libc.so.6 |grep __stack_chk_fail</strong><br>
  <code>00c52f80 g    DF .text  0000001a  GLIBC_2.4   __stack_chk_fail</code></p>
  
  <p>1) I don't know why this problem occured if all symbols are inside shared libraries (mabye it isn't, please correct me, or how to check it)</p>
  
  <p>when I put older library libgcc_s.so.1 without symbol __stack_chk_fail</p>
  
  <p><strong>objdump -T /lib/libgcc_s.so.1 |grep __stack_chk_fail</strong><br>
  <code>empty output</code></p>
  
  <p><em>everything was ok</em></p>
  
  <p>2) Do linker not check reference to __stack_chk_fail, because there isn't inside libgcc_s.so.1 in that case?</p>