Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 1998 15:13:01 -0800
From:      Studded <Studded@dal.net>
To:        McClain Looney <mcclain@reliant.net>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: broken tcl libs
Message-ID:  <3512F7FD.47580815@dal.net>
References:  <006001bd5437$96190b00$c36608ce@dingus.stomped.com> <19980321085607.27129@welearn.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 20, 1998 at 01:37:14PM -0600, McClain Looney wrote:
> > Hi there.
> >
> > I ran a particuarly malicious find command a while back and hosed up all my
> > tcl libraries.  This of course, broke vi (my mind boggles at what else it
> > might have broken).

	In general, you don't want to run fancy/complicated find commands. The
syntax is very easy to get wrong (I speak from experience :), and
depending on what you're doing (especially in a script run by cron) you
are opening yourself up to security problems. You're almost always
better off using the results of find in a script.

> > when i try to start vi, i get the following error:
> >
> > ld.so failed: Can't find shared library "libtcl.so.75.1"
> >
> > which would indicate that it cant find the libtcl.so.75.1 file,

	*Bing bing bing bing*  :)

> > which,
> > indeed, does not exist on my system anymore.  I attemped to synch my sources
> > (i'm running 2.2.2-RELEASE, dont ask.) with cvsup. I tried to "make lib",
> > but this died, as did make world, make vi and pretty much anything i tried.
> > Do I have any choices besides reinstalling the whole os?

	Well, you do have choices, however all of them are messy and don't
offer guarantees of working. Your best (as in most time-effective and
highest potential for success) option at this point is to use the
upgrade process to reinstall the OS. You can get the latest 2.2.6-Beta
snapshot at ftp://releng22.freebsd.org/pub/FreeBSD/2.2.6-980315-BETA/ 
You want to get the boot floppy from the floppies directory there. Make
sure to follow the upgrade instructions, especially the bit about
backing up important files (like /etc). 

	Reinstalling will solve the chicken and egg library problems that are
likely the reason your previous attempts to solve the problem failed. 

Good luck,

Doug

PS, If you need further help feel free to contact me privately, or
follow up to freebsd-questions. My understanding is that this list is
more for chatting than it is for questions, although my feeling is that
if you're going to have a list for newbies let them define what to use
it for. :)

-- 
***         Chief Operations Officer, DALnet IRC network       ***
*** Proud operator, designer and maintainer of the world's largest
*** Internet Relay Chat server.  5,328 clients and still growing.
*** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3512F7FD.47580815>