Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2007 23:28:47 +0330
From:      "Bahman M." <b.movaqar@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Overwritten ldconfig default search path
Message-ID:  <6d62f69a0708101258h60bbcb3ct872a81043edee942@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?6d62f69a0708101258h60bbcb3ct872a81043edee942>