f******t 发帖数: 61 | 1 i have posted this problem in Linux board before,
but no one replied to it. I try my luck here.
i upgraded libc5 to libc6(glibc2), but quitted it
in the halfway, and shutted down the computer. But
now i can't access Linux, since the mingetty needs
to call some routines of the shared libarry, so
mingetty couldn't be started, then i can't log in
the system!
this is my last try before reinstalling it! | m*******m 发帖数: 182 | 2 You may try boot from another difk or from CDROM, mount the
disk, and copy libc stuff.
【在 f******t 的大作中提到】 : i have posted this problem in Linux board before, : but no one replied to it. I try my luck here. : i upgraded libc5 to libc6(glibc2), but quitted it : in the halfway, and shutted down the computer. But : now i can't access Linux, since the mingetty needs : to call some routines of the shared libarry, so : mingetty couldn't be started, then i can't log in : the system! : this is my last try before reinstalling it!
| f******t 发帖数: 61 | 3 yes, maybe it's feasible!
Can you tell me what libc is composed of ?
does it require installation, or just as you
said, copy the files.
i booted the system in rescue mode, but i
can't execute rpm command to install the
libc.
【在 m*******m 的大作中提到】 : You may try boot from another difk or from CDROM, mount the : disk, and copy libc stuff.
| m*******m 发帖数: 182 | 4 It consists of:
ld.so.2
ldconfig
libc.so.6
libcrypt.so.1
...
But what mingtty needs are /lib/libc.so.6 and /lib/ld-linux.so.2.
So, just copy these two for a quick fix.
Are you sure you have rpm in rescue mode? rpm is statically linked
(at least on my linux box). It shouldnt be a dynamic link problem.
You can get a copy of rpm to install.
【在 f******t 的大作中提到】 : yes, maybe it's feasible! : Can you tell me what libc is composed of ? : does it require installation, or just as you : said, copy the files. : i booted the system in rescue mode, but i : can't execute rpm command to install the : libc.
| f******t 发帖数: 61 | 5 Nice! thank you. it's worth a try!
【在 m*******m 的大作中提到】 : It consists of: : ld.so.2 : ldconfig : libc.so.6 : libcrypt.so.1 : ... : But what mingtty needs are /lib/libc.so.6 and /lib/ld-linux.so.2. : So, just copy these two for a quick fix. : Are you sure you have rpm in rescue mode? rpm is statically linked : (at least on my linux box). It shouldnt be a dynamic link problem.
| f******t 发帖数: 61 | 6 I have tried, but in the /usr/lib directory,
the libc.so.6 and ld-linux.so.2 is there.
The error is:
/usr/local/lib/libc.so.6: undefined symbol:_dl_initial_searchlist_
mingetty: error in loading shared library.
Then i try to replace the files in lib directory with
libc5 files, which i found under /usr/i486-linux-libc5/lib
But now error is:
INIT: can't execute command mingetty
and no other message!
【在 m*******m 的大作中提到】 : It consists of: : ld.so.2 : ldconfig : libc.so.6 : libcrypt.so.1 : ... : But what mingtty needs are /lib/libc.so.6 and /lib/ld-linux.so.2. : So, just copy these two for a quick fix. : Are you sure you have rpm in rescue mode? rpm is statically linked : (at least on my linux box). It shouldnt be a dynamic link problem.
| m*******m 发帖数: 182 | 7 Do a "ldd -v /sbin/mingetty", and see what you need to
replace. It seems that you may need to replace mingetty
too.
mingetty cant run because it cant find the share libraries,
I think. Double check with ldd.
【在 f******t 的大作中提到】 : I have tried, but in the /usr/lib directory, : the libc.so.6 and ld-linux.so.2 is there. : The error is: : /usr/local/lib/libc.so.6: undefined symbol:_dl_initial_searchlist_ : mingetty: error in loading shared library. : Then i try to replace the files in lib directory with : libc5 files, which i found under /usr/i486-linux-libc5/lib : But now error is: : INIT: can't execute command mingetty : and no other message!
| f******t 发帖数: 61 | 8 i forgot command "ldd", thanks!
i will try once again!
【在 m*******m 的大作中提到】 : Do a "ldd -v /sbin/mingetty", and see what you need to : replace. It seems that you may need to replace mingetty : too. : mingetty cant run because it cant find the share libraries, : I think. Double check with ldd.
|
|