On 2/25/07, Alex Winfield <[EMAIL PROTECTED]> wrote:
>
>
> >On 2/25/07, Alex Winfield <[EMAIL PROTECTED]> wrote:
> >
> >
> >>SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
> >>
> >>
> >
> >it looks like the new linker from 6.11 binutils is not being used.
> >try that grep command on the linker binary inside the chroot
> >environment and see what you get.
> >
> >$ grep -a 'SEARCH.*/usr/lib' /usr/bin/ld |sed 's|; |\n|g' | sort | uniq
> >SEARCH_DIR("/lib")
> >SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
> >SEARCH_DIR("/usr/lib");
> >SEARCH_DIR("/usr/local/lib")
> >
> Using that grep command, I get the exact same output that you listed:
>
> $ grep -a 'SEARCH.*/usr/lib' /usr/bin/ld |sed 's|; |\n|g' | sort | uniq
> SEARCH_DIR("/lib")
> SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
> SEARCH_DIR("/usr/lib");
> SEARCH_DIR("/usr/local/lib")
>so now i wonder if PATH was set correctly. The shell will use the first match it finds so the order of those directories does matter. Double check the set up when entering the chroot environment. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
