[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: Doing Stupid things?!



> Eli Marmor <marmor@elmar.co.il> wrote:
> >  It is forbidden to strip shared libraries
> 
> It's incorrect, at least for Linux/ELF. I do it all the time. Did you mean "it
> is forbidden to strip shared libraries _currently_ being used by a process"?
> Since libc is used by init (I concern here the original poster), it was fatal

Nope, it wasn't. I still run my system with stripped libs, I didn't have
the time to restore them from backup. But nothing really happends, most of
the things are working Ok, including init...

That's the question I ask -- How can I know what libraries some binary
uses? for example I can't run 'mc' now. If I knew how to find out what
libraries it depends on I'll know what to fix...
At least I know that there is a way since that 'yard' rescue disk program
somehow learns what libs your need once you choose the binaries,
I'm going to see the code to find it out...

And I have more general question about libs, I'm sure that most of us has
got into situation when you want to run some application and it says can't
load libABC But I never knew where to look for it, what package it's a
part of. (I'm not talking about obvious ones -- libc and etc) 
But I remeber that many times I gave up on the tool since I couldn't
supply the lib it wanted to use.

Do you know how to solve that kind of problem! You can't say go search the
web, since I did and you end up with finding some live linux system , but
still you can't find what the package it belongs to. Sorry but I don't
remember some example of name (e.g. I've had prolems with some libX
libraries and they weren't part of X dist, but don't take it -- it's only
an unsuccessfull example..)

Thank you
______________________________________________________________________
Stas Bekman     mailto:sbekman@iil.intel.com [just another webmaster]
Linux Installation Party [Technion] http://instaparty.israel.eu.org/
Home Page:      http://www.eprotect.com/stas
A must visit: 	http://www.eprotect.com/stas/TULARC (Java,CGI,PC,Linux)
Linux-il Home:  http://www.linux.org.il/