[parisc-linux] Solved [was: Help, help testing Debian hppa unusable??]

Joel Soete jsoe0708@tiscali.be
Thu, 20 Feb 2003 10:58:00 +0100


Hi all,
>
>I just try to install rpm on my testing Debian hppa and
>...
>Unpacking librpm4 (from .../librpm4_4.0.4-11_hppa.deb) ...
>Selecting previously deselected package rpm.
>Unpacking rpm (from .../archives/rpm_4.0.4-11_hppa.deb) ...
>Setting up librpm4 (4.0.4-11) ...
>
>Setting up rpm (4.0.4-11) ...
>/bin/sh: /lib/ld.so.1: version `GLIBC_PRIVATE' not found (required by /lib/libc.so.6)
>dpkg: error processing rpm (--configure):
> subprocess post-installation script returned error exit status 1
>Errors were encountered while processing:
> rpm
>E: Sub-process /usr/bin/dpkg returned an error code (1)
>root@fw01:/Sources/Debian4fw01# cd ..
>
>I believe at this moment that I was in chroot :(
>
>root@fw01:/Sources# exit
>logout
>jso@fw01:~$ dpkg -l
>dpkg: /lib/ld.so.1: version `GLIBC_PRIVATE' not found (required by /lib/libc.so.6)
>jso@fw01:~$ su -
>su: /lib/ld.so.1: version `GLIBC_PRIVATE' not found (required by /lib/libc.so.6)
>jso@fw01:~$ ll /lib/ld.so.1
>-bash: ll: command not found
>jso@fw01:~$ ls -l /lib/ld.so.1
>ls: /lib/ld.so.1: version `GLIBC_PRIVATE' not found (required by /lib/libc.so.6)
>jso@fw01:~$
>

The error IMHO stand in ldconfig:

I temporary copy libc-2.3.1.so into /lib of this system.

Then when I install librpm (with rpm) the post install do just a ldconfig:
logical.

What I found erronious is that ldconfig changed on its own (without querying
what todo) the link /lib/libc.so.6 -> libc-2.2.5.so (as install by libc6
dpkg) to -> libc-2.3.1.so??

The solution was so to reboot with the original install cd; went into starting
shell menu; mkdir /mnt/Mydir to mount /dev/md2 (my root meta device); reset
the link libc.so.6 -> libc-2.2.5.so into /mnt/Mydir/lib and remove libc-2.3.1.so;
chroot /mnt/Mydir to redo ldconfig and finaly reboot after unmount of /mnt/Mydir.

Cheers,
    Joel



---------------------------------
Vous surfez avec une ligne classique ?
Faites des economies avec Tiscali Complete
... Plus d'info sur http://complete.tiscali.be