<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thank you ... thank you ... thank you<div><br></div><div>i knew it was going to be a stupid mistake <img src="http://gfx2.hotmail.com/mail/w4/pr01/ltr/emoticons/smile_embaressed.gif" width="19" height="19" alt=""></div><div><br></div><div>Recompiling now so fingers crossed :)</div><div><br></div><div>cheers</div><div>grail<br><br><hr id="stopSpelling">Date: Wed, 21 Jul 2010 19:43:47 -0400<br>From: jciccone@gmail.com<br>To: clfs-dev@lists.cross-lfs.org<br>Subject: Re: [Clfs-dev] FW: 10.17 ncurses<br><br>

  


    
  
  
    Check which patches you applied to gcc, it sounds to me like you
    applied the specs patch where you should not have.<br>
    <br>
    On 07/21/2010 07:41 PM, Grail Dane wrote:
    <blockquote cite="mid:SNT132-w26D9A09E3DF104985733BAB1A10@phx.gbl">
      <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>
      Ok ... so I have re-compiled and installed gcc and it is still
      connected to the wrong interpreter.
      <div><br>
      </div>
      <div>When I run - readelf -l /usr/bin/gcc | grep lib</div>
      <div><br>
      </div>
      <div>It returns - [Requesting program interpreter:
        /tools/lib/ld-linux-x86-64.so.2]</div>
      <div><br>
      </div>
      <div>So now I am back to square one of asking if anyone can think
        of what I have missed?</div>
      <div><br>
      </div>
      <div>I have reconfirmed that all executables compiled prior to gcc
        (chapter 10.15) when used with the same</div>
      <div>command above returns:</div>
      <div><br>
      </div>
      <div>[Requesting program interpreter: /lib/ld-linux-x86-64.so.2]</div>
      <div><br>
      </div>
      <div>Again any help would be appreciated :)</div>
      <div><br>
      </div>
      <div>cheers</div>
      <div>grail<br>
        <br>
        <hr id="ecxstopSpelling">From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:grail69@hotmail.com">grail69@hotmail.com</a><br>
        To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:clfs-dev@lists.cross-lfs.org">clfs-dev@lists.cross-lfs.org</a><br>
        Date: Wed, 21 Jul 2010 02:13:15 +0000<br>
        Subject: [Clfs-dev] FW: 10.17 ncurses<br>
        <br>
        <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>Right ... so it appears I should be a little embarrassed <img src="http://gfx2.hotmail.com/mail/w4/pr01/ltr/emoticons/smile_embaressed.gif" alt="" height="19" width="19">
        <div><br>
        </div>
        <div>I guess ranting helps because after saying all my other
          installed applications were working ok I found that everything
          installed priorto gcc is linked correctly</div>
        <div>but not after. Therefore both sed and ncurses apps are
          linked incorrectly :(</div>
        <div><br>
        </div>
        <div>I tested a few things like ar and ld with readelf -l and
          they are using the correct interpreter.</div>
        <div>Yet /usr/bin/gcc, /bin/sed and /usr/bin/clear are all using
          the wrong interpreter, ie still the on in /tools/lib</div>
        <div><br>
        </div>
        <div>I will be back if I can't figure out where I went wrong.</div>
        <div><br>
        </div>
        <div>cheers</div>
        <div>grail<br>
          <br>
          <hr id="ecxecxstopSpelling">From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:grail69@hotmail.com">grail69@hotmail.com</a><br>
          To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:clfs-dev@lists.cross-lfs.org">clfs-dev@lists.cross-lfs.org</a><br>
          Subject: 10.17 ncurses<br>
          Date: Wed, 21 Jul 2010 01:40:13 +0000<br>
          <br>
          <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>I am hoping someone will put me out of my misery here :(<br>
          <br>
          I have restarted my current build of Pure64 several times
          lately and keep getting stuck here.<br>
          <br>
          My issue is that every time I install ncurses (and to let you
          know I have resorted to copy and pasting directly from the web
          site into my terminal) the installed programs seem to be
          linking incorrectly.<br>
          <br>
          I know I have probably missed something simple, as I have been
          past this stage before, but for the life of me I cannot find
          where.<br>
          <br>
          So my test to tell me i am doing something wrong is the
          following:<br>
          <br>
          1. Complete install of ncurses (this includes both with all
          extra move after make install and without)<br>
          <br>
          2. Run /usr/bin/clear, which is installed by ncurses<br>
          <br>
          output:<br>
          <br>
          clear: error while loading shared libraries: libncursesw.so.5:
          cannot open shared object file: No such file or directory<br>
          <br>
          3. Run find / -name libncursesw.so.5<br>
          <br>
          output:<br>
          <br>
          /lib/libncursesw.so.5<br>
          <br>
          4. Test linkages - ldd /usr/bin/clear<br>
          <br>
          output:<br>
          <br>
              linux-vdso.so.1 =>  (0x00007ffff6b8b000)<br>
              libncursesw.so.5 => not found<br>
              libc.so.6 => /tools/lib/libc.so.6 (0x00007f0ee4a02000)<br>
              /tools/lib/ld-linux-x86-64.so.2 (0x00007f0ee4d60000)<br>
          <br>
          As you can see it is linking against /tools/<blah> and
          yet both libc.so.6 and ld-linux-x86x64.so.2 exist in /lib<br>
          <br>
          My only deviation from the rest of CLFS Pure64 is to install
          glibc instead of eglibc. Can't see why this would cause
          issues?? And on testing other applications in the Chapter 10
          section they all seemed to be linked ok.<br>
          <br>
          Any advice would be greatly appreciated<br>
          <br>
          cheers grail<br>
          <br>
          <hr>Find it at CarPoint.com.au <a href="http://clk.atdmt.com/NMN/go/206222968/direct/01/">New,
            Used, Demo, Dealer or Private?</a></div>
        <br>
        <hr>Meet local singles online. <a href="http://clk.atdmt.com/NMN/go/150855801/direct/01/">Browse
          profiles for FREE!</a></div>
      <br>
      <hr>Find it on Domain.com.au <a href="http://clk.atdmt.com/NMN/go/157631292/direct/01/">Need a new place to live?</a>
      <pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
_______________________________________________
Clfs-dev mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Clfs-dev@lists.cross-lfs.org">Clfs-dev@lists.cross-lfs.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org">http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org</a>
</pre>
    </blockquote>
    <br></div>                                        <br /><hr />Find it on Domain.com.au <a href='http://clk.atdmt.com/NMN/go/157631292/direct/01/' target='_new'>Need a new place to live?</a></body>
</html>