Check which patches you applied to gcc, it sounds to me like you
applied the specs patch where you should not have.
On 07/21/2010 07:41 PM, Grail Dane wrote:
Ok ... so I have re-compiled and installed gcc and it is still
connected to the wrong interpreter.
When I run - readelf -l /usr/bin/gcc | grep lib
It returns - [Requesting program interpreter:
/tools/lib/ld-linux-x86-64.so.2]
So now I am back to square one of asking if anyone can think of what I
have missed?
I have reconfirmed that all executables compiled prior to gcc (chapter
10.15) when used with the same
command above returns:
[Requesting program interpreter: /lib/ld-linux-x86-64.so.2]
Again any help would be appreciated :)
cheers
grail
------------------------------------------------------------------------
From: [email protected]
To: [email protected]
Date: Wed, 21 Jul 2010 02:13:15 +0000
Subject: [Clfs-dev] FW: 10.17 ncurses
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 correctly
but 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.
cheers
grail
------------------------------------------------------------------------
From: [email protected]
To: [email protected]
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?
<http://clk.atdmt.com/NMN/go/206222968/direct/01/>
------------------------------------------------------------------------
Meet local singles online. Browse profiles for FREE!
<http://clk.atdmt.com/NMN/go/150855801/direct/01/>
------------------------------------------------------------------------
Find it on Domain.com.au Need a new place to live?
<http://clk.atdmt.com/NMN/go/157631292/direct/01/>
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org