Re: [parisc-linux] RE: New glibc patches 2004-03-08, fixes GLRO changes.

Joel Soete soete.joel at tiscali.be
Mon Mar 15 10:38:46 MST 2004


Hello Jim,

Sorry for confusion but you have definitely right.

[snip]use prefix=/usr and make  install_root=/mnt/chroot install;

This is the right method because if I use prefix=/mnt/chroot and 'make install',
when the install was finished and I tried chroot/mnt/chroot: here was the
error message:
chroot /mnt/chroot
/bin/bash: error while loading shared libraries: libncurses.so.5: cannot
open shared object file: No such file or directory

and strace shows me that it looking for libncurses.so.5 into /mnt/chroot/lib
:)

So to launch make -k check in this config, I foreseen to use prefix=/usr
and make install_root=/mnt/chroot; then mount -o bind /GlibcSrcFS /mnt/chroot/GlibcSrcFS;
chroot /mnt/chroot; and in this env launch the make -k check. Do you know
another solution?

Many thanks for advise,
    Joel


Joel Soete wrote:
> 
> 
> Carlos O'Donell wrote:
> 
>> On Fri, Mar 12, 2004 at 06:33:11PM +0100, Joel Soete wr
> te:
>>
>>> Hmmm all output files realted to Error1 was empty because of:
>>> hppa-linux-gcc -nostdlib -nostartfiles -o 
>>> /Develop/parisc-linux/build/glibc/posix/tst-regex
>>> -Wl,-dynamic-linker=/lib/ld.so.1
                         ^^^^^^^^^^
> ^

When I use the previous method (prefix=/mnt/chroot) it become :

-dynamic-linker=/mnt/chroot/lib/ld.so.1

So here I can drive make -k check without pb in basic env (the one in which
I build the new glibc)

OTC with James' method I would have
> to do it in chroot /mnt/chroot env.
And it wasn't what I did; I will so restart build and test with prefix=/mnt/chroot
(as I use to do) and advise you of the new 
results ;)

That's a way to lurn ;)

Joel



----------------------------------------------------------------------------------------
Tiscali ADSL: 35 €/mois, la meilleure offre du marché!
http://reg.tiscali.be/default.asp?lg=fr





More information about the parisc-linux mailing list