Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74817 - fsck.reiser4 cant find libreiser4-1.0.so.2 --> booting abborted
Summary: fsck.reiser4 cant find libreiser4-1.0.so.2 --> booting abborted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-18 02:49 UTC by Carl Bach
Modified: 2005-05-21 23:57 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
reiser4progs-1.0.3_autoreconf.patch (reiser4progs-1.0.3_autoreconf.patch,276 bytes, patch)
2004-12-21 03:35 UTC, Simone Gotti (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Bach 2004-12-18 02:49:51 UTC
I go unstable and I'm using reiser4. Yesterday, I updated to reiser4progs 1.0.3 (and the required dependency libaaal); I might also have updated to the latest baselayout.

Today, my computer aborted booting when it came to fsck.reiser4 - it looked for a library libreiser4-1.0.so.2 which didnt exist (anylonger due to the update? I dunno).

mount -o remount rw / and making a symbolic link from libreiser4-1.0.so.2 -> libreiser4-1.0.so.3 helped.

Note: I marked it blocker, because it stops your computer from working, eventhough it can be easily fixed :-)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



emerge info
Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-rc2-nitro1 i686)
=================================================================
System uname: 2.6.9-rc2-nitro1 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep 27 2004, 11:05:46)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk
/usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups eds encode esd evo
f77 foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib
java jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses network
nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png python quicktime
readline sdl slang spell sse ssl svga tcpd threads truetype x86 xine xml2 xv zlib"
Comment 1 Avuton Olrich 2004-12-18 08:42:21 UTC
I've got two machines that are unbootable, until I get a chance to run a livecd on them. Until this is fixed I think this package should definitely be masked. Thank you.
Comment 2 SpanKY gentoo-dev 2004-12-18 18:47:04 UTC
what does `ldd /sbin/fsck.reiser4` show ?
Comment 3 Carl Bach 2004-12-19 08:14:49 UTC
Strange. Everything seems to be correct.

ldd /sbin/fsck.reiser4
        linux-gate.so.1 =>  (0xffffe000)
        libreiser4-1.0.so.3 => /lib/libreiser4-1.0.so.3 (0xb7f8e000)
        librepair-1.0.so.3 => /lib/librepair-1.0.so.3 (0xb7f76000)
        libaal-1.0.so.3 => /lib/libaal-1.0.so.3 (0xb7f6e000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb7f6b000)
        libreadline.so.5 => /lib/libreadline.so.5 (0xb7f3d000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7ef8000)
        libc.so.6 => /lib/libc.so.6 (0xb7dcd000)
        /lib/ld-linux.so.2 (0xb7fea000)
Comment 4 SpanKY gentoo-dev 2004-12-19 09:59:29 UTC
so if you rm the libreiser4-1.0.so.2 symlink you made, does `fsck.resier4` work again ?
Comment 5 Carl Bach 2004-12-19 10:34:40 UTC
Stragely, not!

rm libreiser4-1.0.so.2
h0m3r lib # fsck.reiser4
fsck.reiser4: error while loading shared libraries: libreiser4-1.0.so.2: cannot open shared object file: No such file or directory

ldd /sbin/fsck.reiser4
        linux-gate.so.1 =>  (0xffffe000)
        libreiser4-1.0.so.3 => /lib/libreiser4-1.0.so.3 (0xb7f8e000)
        librepair-1.0.so.3 => /lib/librepair-1.0.so.3 (0xb7f76000)
        libaal-1.0.so.3 => /lib/libaal-1.0.so.3 (0xb7f6e000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb7f6b000)
        libreadline.so.5 => /lib/libreadline.so.5 (0xb7f3d000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7ef8000)
        libc.so.6 => /lib/libc.so.6 (0xb7dcd000)
        /lib/ld-linux.so.2 (0xb7fea000)
        libreiser4-1.0.so.2 => not found
Comment 6 Carl Bach 2004-12-20 02:49:54 UTC
There is a more proper solution than symlinking found here:
http://forums.gentoo.org/viewtopic.php?t=268386

Just emerge reiser4progs a second time. Works now, even without the symlink :-)
Comment 7 Simone Gotti (RETIRED) gentoo-dev 2004-12-21 03:26:19 UTC
The problems is caused by librepair and other that links against the installed libreiser4 (libreiser4-1.0.so.2) instead of the just compiled one (libreiser4-1.0.so.3).

# ldd /lib/librepair.so
        linux-gate.so.1 =>  (0xffffe000)
        libreiser4-1.0.so.2 => not found    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        libc.so.6 => /lib/libc.so.6 (0xb7ea9000)
        /lib/ld-linux.so.2 (0x80000000)

Using "elibtoolize" inside src_unpack DIDN'T fixed it.
So I forced the regeneration of all the build system running "autoreconf --install --force", and then it worked.

vapier: I'm not very libtool expert so I don't know if this is the right solution to this problem. I just tried to help you :D.

Comment 8 Simone Gotti (RETIRED) gentoo-dev 2004-12-21 03:35:08 UTC
Created attachment 46530 [details, diff]
reiser4progs-1.0.3_autoreconf.patch
Comment 9 Carl Bach 2005-03-15 09:57:14 UTC
Why is the fix not in reiser4progs 1.0.4 ?

I had the same problem when upadating to reiser4progs 1.0.4.
Comment 10 Michael S 2005-04-25 19:03:30 UTC
FWIW, I've just had the same problem upgrading to libreiser4-1.0.4 as well.
Comment 11 MDonoughe 2005-05-19 23:34:04 UTC
I confirm that this is still not fixed. 
Comment 12 MDonoughe 2005-05-19 23:38:49 UTC
Sorry to bother you all with the e-mail notification. I didn't know it would send you all an e-mail. x_x
Comment 13 SpanKY gentoo-dev 2005-05-21 23:57:46 UTC
thanks Simone for that ... forced rebuilding of autotools in src_unpack()