Date: Sun, 12 Aug 2007 14:22:53 +0330 From: "Bahman M." <b.movaqar@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Overwritten ldconfig default search path Message-ID: <6d62f69a0708120352y6975d042j509f003863599490@mail.gmail.com> In-Reply-To: <6d62f69a0708101258h60bbcb3ct872a81043edee942@mail.gmail.com> References: <6d62f69a0708101258h60bbcb3ct872a81043edee942@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. <b.movaqar@gmail.com> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6d62f69a0708120352y6975d042j509f003863599490>