title: GCC ld: can't find -lcurses
body: <p>I'm trying to use make install, and I get error: </p>
  
  <pre><code>cannot find -lcurses
  </code></pre>
  
  <p>In my <strong>/usr/lib/curses/</strong> I have two files: <strong>libcurses.so</strong> and <strong>libcurses.a</strong>. </p>
  
  <p>So I do have that library, gcc just doesn't see it. I've read almost everything I can find but still couldn't make this work.</p>
  
  <p>Any help would be appreciated. </p>
  
  <p>This is output:</p>
  
  <pre><code>/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libcurses.so when searching for -lcurses
  /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lcurses
  collect2: error: ld returned 1 exit status
  Makefile:125: recipe for target 'samtools' failed
  make: *** [samtools] Error 1
  </code></pre>
  
  <p>Note: I've read every similar topic on this website, so please, don't mark this as duplicate. </p>