Overwritten ldconfig default search path

Bahman M. b.movaqar at gmail.com
Sun Aug 12 03:52:55 PDT 2007


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 at 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
>


More information about the freebsd-questions mailing list