Overwritten ldconfig default search path

Bahman M. b.movaqar at gmail.com
Fri Aug 10 13:25:50 PDT 2007


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