From owner-freebsd-questions@FreeBSD.ORG Sun Aug 12 10:52:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 393CD16A417 for ; Sun, 12 Aug 2007 10:52:55 +0000 (UTC) (envelope-from b.movaqar@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.231]) by mx1.freebsd.org (Postfix) with ESMTP id EDBAE13C483 for ; Sun, 12 Aug 2007 10:52:54 +0000 (UTC) (envelope-from b.movaqar@gmail.com) Received: by qb-out-0506.google.com with SMTP id a10so1787228qbd for ; Sun, 12 Aug 2007 03:52:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZD3NHh15bwHHQPa5dD86asw9OmeGvHWtKeFHc7mEEhZcFpd8pSsasQPBuEpji9osnMLXCRSsVzj1n4RwI6aPFu+EA9uY2qQrIGgyJbrTewftc4hDkAMsVoFi7IZSRibqb2AyJ57e5CEfxa3mKXBfNGOlMUAtQZD3+2P7KcHRC/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d/NYbKPTUzd+hyMu5VvpEKD46vINRdqkRnA3GpYC9Sn+0toF8NPg5eAsWsoFAM/jQhNGEY9Vg3ZqI+HjROzSEx8wS90xtSAEqDXztsJpvQFqn1GKJkBiZEqvWJUEwSCXlcwE6uHbCyjrlwI+aMgn/CgSDysUAy7QuLnaD9iauXM= Received: by 10.114.149.2 with SMTP id w2mr4571206wad.1186915973440; Sun, 12 Aug 2007 03:52:53 -0700 (PDT) Received: by 10.114.132.6 with HTTP; Sun, 12 Aug 2007 03:52:52 -0700 (PDT) Message-ID: <6d62f69a0708120352y6975d042j509f003863599490@mail.gmail.com> Date: Sun, 12 Aug 2007 14:22:53 +0330 From: "Bahman M." To: freebsd-questions@freebsd.org In-Reply-To: <6d62f69a0708101258h60bbcb3ct872a81043edee942@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6d62f69a0708101258h60bbcb3ct872a81043edee942@mail.gmail.com> Subject: Re: Overwritten ldconfig default search path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2007 10:52:55 -0000 Well, after using the following directories as the default search path and now the system is back to life! /usr/lib /usr/local/lib /lib /usr/X11R6/lib And yes the -m switch is the solution :-) Bahman On 8/10/07, Bahman M. wrote: > Hi all, > > I issued the following command which as you may guess has overwritten > ldconfig default search path. > % sudo ldconfig -i /etc/ld.so.conf > That ld.so.conf contained a few directories which I wanted to include > in the search path. Now as a result the system has stopped > functioning. > Are there any workarounds? What is the default search path? Does it > help if I feed ldconfig with the default search path? > And for future to avoid this silly mistake: Should I use the -m switch > in similar cases? > > Thanks in advance. > Bahman >