[Clfs-dev] FW: 10.17 ncurses

Grail Dane grail69 at hotmail.com
Tue Jul 20 19:13:15 PDT 2010


Right ... so it appears I should be a little embarrassed 
I guess ranting helps because after saying all my other installed applications were working ok I found that everything installed priorto gcc is linked correctlybut not after. Therefore both sed and ncurses apps are linked incorrectly :(
I tested a few things like ar and ld with readelf -l and they are using the correct interpreter.Yet /usr/bin/gcc, /bin/sed and /usr/bin/clear are all using the wrong interpreter, ie still the on in /tools/lib
I will be back if I can't figure out where I went wrong.
cheersgrail

From: grail69 at hotmail.com
To: clfs-dev at lists.cross-lfs.org
Subject: 10.17 ncurses
Date: Wed, 21 Jul 2010 01:40:13 +0000








I am hoping someone will put me out of my misery here :(

I have restarted my current build of Pure64 several times lately and keep getting stuck here.

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.

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.

So my test to tell me i am doing something wrong is the following:

1. Complete install of ncurses (this includes both with all extra move after make install and without)

2. Run /usr/bin/clear, which is installed by ncurses

output:

clear: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

3. Run find / -name libncursesw.so.5

output:

/lib/libncursesw.so.5

4. Test linkages - ldd /usr/bin/clear

output:

    linux-vdso.so.1 =>  (0x00007ffff6b8b000)
    libncursesw.so.5 => not found
    libc.so.6 => /tools/lib/libc.so.6 (0x00007f0ee4a02000)
    /tools/lib/ld-linux-x86-64.so.2 (0x00007f0ee4d60000)

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

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.

Any advice would be greatly appreciated

cheers grail
 		 	   		  
Find it at CarPoint.com.au New, Used, Demo, Dealer or Private? 		 	   		  
_________________________________________________________________
Browse profiles for FREE! Meet local singles online.
http://clk.atdmt.com/NMN/go/150855801/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20100721/2b8bf7b4/attachment.html>


More information about the Clfs-dev mailing list