From owner-freebsd-questions@FreeBSD.ORG Sat Jun 7 20:59:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF45437B401 for ; Sat, 7 Jun 2003 20:59:56 -0700 (PDT) Received: from msr4.hinet.net (msr4.hinet.net [168.95.4.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C1CA43F3F for ; Sat, 7 Jun 2003 20:59:55 -0700 (PDT) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-6.HINET-IP.hinet.net [61.227.219.6]) by msr4.hinet.net (8.9.3/8.9.3) with SMTP id MAA06835 for ; Sun, 8 Jun 2003 12:00:16 +0800 (CST) Date: Sun, 8 Jun 2003 10:59:34 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20030608105934.4130b24e.y2kbug@ms25.hinet.net> In-Reply-To: <20030607231802.GC33898@webserver.get-linux.org> References: <001201c32cab$7a968360$0200a8c0@hades> <20030607043646.GA27879@webserver.get-linux.org> <20030607174520.30c72302.y2kbug@ms25.hinet.net> <20030607231802.GC33898@webserver.get-linux.org> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: undo a rm -rf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 03:59:57 -0000 On Sat, 7 Jun 2003 16:18:02 -0700 Joshua Oreman wrote: > > On Linux, I've installed Libtrash, a "trashcan" which works even at the console. I think it's just a series of scripts, but it works superbly. I tried installing it on FBSD, but it failed to compile, exiting with this error message: > > > > /usr/bin/ld: cannot find -ldl > > *** Error code 1 > > > > If I knew what I was doing, I'd surely try to port Libtrash to FBSD. Sadly, I'm not a knowledgeable developer, just a dumb user. If anyone is interested: > > > > http://www.m-arriaga.net/software/libtrash/ > > That's me, I'm interested (and a knowledgable quasi-developer :-) > To get it to compile, remove all occurences of -ldl from src/Makefile. > However, then it coredumps on any open() call and doesn't move stuff > to the trash :P > I'm working on it. That's great Josh! Let us know if you get it working. I'll be happy to beta test it. best regards, Robert