Page 1 of 1

Help….

Posted: Thu Nov 17, 2011 8:37 pm
by tibetfreedom
hi,
I need to undo the damage this set of commands caused on a debian Squeeze box…


echo "/opt/libjpeg-turbo/lib" > /etc/ld.so.conf.d/libjpeg-turbo.conf && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/ffmpeg.conf && \
echo "LD_LIBRARY_PATH=/usr/local/lib:/opt/libjpeg-turbo/lib:$LD_LIBRARY_PATH" >> /etc/bash.bashrc && \


What should I do to undo this stuff, it is causing the system to kernel panic all the time…

Re: Help….

Posted: Fri Nov 18, 2011 11:22 am
by tibetfreedom
tibetfreedom wrote:hi,
I need to undo the damage this set of commands caused on a debian Squeeze box…


echo "/opt/libjpeg-turbo/lib" > /etc/ld.so.conf.d/libjpeg-turbo.conf && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/ffmpeg.conf && \
echo "LD_LIBRARY_PATH=/usr/local/lib:/opt/libjpeg-turbo/lib:$LD_LIBRARY_PATH" >> /etc/bash.bashrc && \


What should I do to undo this stuff, it is causing the system to kernel panic all the time…
Ok done it.
Fairly simple but scary...

Re: Help….

Posted: Sat Nov 19, 2011 12:11 am
by bb99
Please post what you did for others to benefit.

Re: Help….

Posted: Sat Nov 19, 2011 12:54 am
by tibetfreedom
bb99 wrote:Please post what you did for others to benefit.
Login as root

force remove two extra files…

rm -f /etc/ld.so.conf.d/libjpeg-turbo.conf
rm -f /etc/ld.so.conf.d/ffmpeg.conf

Edit this file…

nano /etc/bash.bashrc

remove two lines at bottom of file

that did it for me.

Stopped the crashes etc after a restart…