From owner-freebsd-questions@FreeBSD.ORG Fri Aug 10 20:25:50 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 7BC4216A468 for ; Fri, 10 Aug 2007 20:25:48 +0000 (UTC) (envelope-from b.movaqar@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id 543B313C478 for ; Fri, 10 Aug 2007 20:25:48 +0000 (UTC) (envelope-from b.movaqar@gmail.com) Received: by rv-out-0910.google.com with SMTP id f1so663827rvb for ; Fri, 10 Aug 2007 13:25:48 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=E2UxcwPHZhg31PaXZu6QIa072YInu85ebprjxzh0HP03+AnfjW+hWaral8lkGSnHSO3UotZQsxTAcfXF6Jh6wJvOe+kFdlSVZ/UVp108bizWmJ8UF6tEV12qEYxPYxAMDZWtHjpqdZcCl7kJXLRiVahsP/2gExC8h7U7PrupIoA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eCusCLyaXbJt0YYy2acNjVuZXF4M6Sa7UU/YqtSp0MX7EdfmNmDrEW+7Z/CQp+CNJqNW84NT0oeYR54sZlCuXrWestvoL9WyeXIZQgEjEXeo8TOdP5bFaiBymx94ISXRkJy3/hkwznYYnyU553fTM7ZsfDif+Ewri2omXpAo0d8= Received: by 10.114.106.1 with SMTP id e1mr4048260wac.1186775927100; Fri, 10 Aug 2007 12:58:47 -0700 (PDT) Received: by 10.114.132.6 with HTTP; Fri, 10 Aug 2007 12:58:47 -0700 (PDT) Message-ID: <6d62f69a0708101258h60bbcb3ct872a81043edee942@mail.gmail.com> Date: Fri, 10 Aug 2007 23:28:47 +0330 From: "Bahman M." To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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: Fri, 10 Aug 2007 20:25:50 -0000 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