On Fri, Aug 17, 2012 at 5:17 PM, Mohan R <[email protected]> wrote: > On Fri, 2012-08-17 at 16:23 +0530, Arun Khan wrote: > >> Only you know the time you spent on getting this to work but I think >> it would have a lot faster to do a simple "apt-get install dnsutils". > > I think the Op know how to do apt-get, but he decided to play with > libraries.
Yeah, I know OP knows about it but what he is trying is dangerous. One smell of success with a small utility like this and he will try with something bigger and when he breaks the system, he will not know what him on his head. He may also end up doing this on production systems and make everybody hopping mad. IMO, this is dangerous. Please read the entire thread from ILUG - Delhi: <http://www.mail-archive.com/[email protected]/msg29309.html> > As long as *Machine1* and *Machine2* is ABI compatible (OS word size, > binary format, endian etc.,) this 'mv' method will work, assuming that > the mv-ed libraries' dependencies are already present in *Machine2*. Again, with package managers and pre-compiled packages esp. like dnsutils it is pointless IMO. It is better to install it from the repo. > Well, instead of 'mv'-ing libraries, why cant you just download the > source tarball of dnsutils and do-yourself source compilation. Trust me, > its a real fun!! welcome to the dependency hell!! > This is a better method. The ./configure shows what is required and missing and what is optional (can be ignored) and everything is installed under /usr/local so chances of contaminating the "installed" system libraries is low. It is a great start to learn how to build "full" packages with it's external dependencies met. I had to install MythTV from source and yes there is dependency hell but you don't bugger up your installed base system. Of course the OP is free to continue this method. Unix/Linux will let you shoot yourself (cd /; rm -fr *). -- Arun Khan "As a layman, I would say we have it, but as a scientist I have to say, 'What do we have?'" Rolf Heuer, Director General CERN on the announcement of Higgs Boson particle. _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
