Date: Wed, 30 Apr 2003 00:25:40 -0500 From: Joey Lephan <mystical@houston.rr.com> To: Eduardo Viruena Silva <mrspock@esfm.ipn.mx> Cc: freebsd-questions@freebsd.org Subject: Re: Accidentally deleted /usr/lib/libstdc++.so.3 Message-ID: <20030430052540.GA44557@thugstah.kicks-ass.net> In-Reply-To: <20030429154058.J18873@Gina.esfm.ipn.mx> References: <1051646208.9428.8.camel@thugstah.kicks-ass.net> <20030429154058.J18873@Gina.esfm.ipn.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey eduardo,
	After reading through your reply, i convinced myself that i
	should understand a little more about freebsd, and its sources.
	
	I've successfully completed make build/install worlds in the
	past, i never really understood how it all worked. Now i realize
	how to get back those missing libs, and peruse /usr/src/gnu/lib
	properly.
	
	I was able to make install clean and ultimately
	retrieving the missing lib.
	Thanks for the inspiration
> On Tue, 29 Apr 2003, Clark Kent wrote:
> > Yep, I managed to do it! I'm probably the first person in history to
> > ever do it, too! Darn it.
> > History:
> > 	Well, it all started when i couldnt run a certain linux binary under
> > emulation. I decided to symlink an existing file (libstdc++.so.3) to the
> > required file (libstdcc++.so.5). No luck. Well, seeing how it did not
> > work, i decided to remove the symbolic link - only to accidentally
> > remove the original libstdc++.so.3.
> > Consequences:
> > 	Mozilla refuses to run. Abiword refuses to run. Countless other
> > programs refused to run, as they required this elf lib.
> > Attempted Fixes:
> > 	Maybe a buildworld would do the trick, I thought; it was also time for
> > me to update my sources also. => Buildworld fails when it couldn't find
> > the file.
> > Arrrrggh!
> > Short of deinstalling Freebsd, is there anything else i could do to get
> > that missing file, or at least build it from existing sources? I haven't
> > done anything else as stupid as this, so my filesystems/crucial files
> > should be intact.
> > Any advice welcome :)
> What version of FreeBSD are you using?
> What version of linux_base package are you using?
> I cannot see this library in my computers...
> If it is part of Linux emulation package, why dont you extract it from
> there?  you know:
> cd /
> tar xvzf linux_base_{your_version}.tgz "usr/lib/libstdcc++.so.5"
> you wrote double "c" is that correct?
> > ps: this is my first post, so i don't know if it will actually go
> > through. Hope it does
> it will.
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> -                         ______                     _
>             *           /   /###\                   / \       __
>  /\  /\             *  /  ./#### \         *     \__|_/      |  |
> /  \/  \               |   b#####|   *            _ |   __   |  |  __
> =    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
> =          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
>  =   \______/           _
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030430052540.GA44557>
