Dan Nicholson wrote:
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

This tests /tools/lib/ld-linux.so.2 + libraries in /lib and /usr/lib, i.e. a horrible mix of old and new glibc. Do we really want that?

--
Alexander E. Patrakov
Don't mail to [EMAIL PROTECTED]: the server is off until 2006-01-11
Use my GMail or linuxfromscratch address instead
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to