On Sunday, my KDE was hanging, and I killed it. Ever since that, I haven't been able to bring XWindows up. I keep getting this error:
Using authority file /home/psychen6/.Xauthority
Writing authority file /home/psychen6/.Xauthority
X: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
My last XFREE86.log doesn't show any errors.
I tried to reinstall the Nvidia driver, but then It failed, and this is what the log says:
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.20/bu
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -
DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_
_KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE
L=4363 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/li
b/modules/2.4.20/build/include -Wno-cast-qual nv.c
cc: installation problem, cannot exec `cc1': No such file or directory
make: *** [nv.o] Error 1
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
So I tried to recompile my kernel, and I got this:
make -C scripts/lxdialog all
make: Entering directory `/usr/src/linux-2.4.20/scripts/lxdialog'
gcc: installation problem, cannot exec `cc1': No such file or directory
>> Unable to find the Ncurses libraries.
>> You must have Ncurses installed in order
>> to use 'make menuconfig'
make: *** [ncurses] Error 1
make: Leaving directory `/usr/src/linux-2.4.20/scripts/lxdialog'
make: *** [menuconfig] Error 2
Does anyone has any idea what might be wrong?