On 12/31/05, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote:
> sed -i.bak \
> 's,libs -o,libs -L/usr/lib -o,' \
> scripts/test-installation.pl
>
> However, there was a report that it doesn't work and needs the
> -R/usr/lib to be added, and probably this still doesn't count as a clean
> test because of the wrong ELF interpreter in the test program.
Definitely debatable as to the cleanliness of the test, but as the
person who reported it, here's one solution. if you just want to be
sure you're testing the new libraries in /lib:/usr/lib, you can do
this:
sed -i \
's,libs -o,libs -L/usr/lib -Wl,-rpath,/lib:/usr/lib -o' \
scripts/test-installation.pl
I think DIY gets away with not adding RPATH because fakeroot is
installed at the end of tools section. Haven't confirmed that,
though.
I personally feel like adding RPATH is the way to go. At least you
know that the sanity check test is being done on the correct files.
It also serves as an enhanced sanity check to what is done after the
toolchain adjustment, anyway.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page