Results 1 to 2 of 2

Thread: Errors after killing X

  1. #1

    Errors after killing X

    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:

    psychen6@Orisha:/tmp$ startx
    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
    ild/include'...
    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.
    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[1]: 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[1]: *** [ncurses] Error 1
    make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts/lxdialog'
    make: *** [menuconfig] Error 2
    root@Orisha:/usr/src/linux#


    Does anyone has any idea what might be wrong?

  2. #2

    Re:Errors after killing X

    OK, I have no idea how it happened, but it seems a lot of packages and libraries dissapeared from my system. I just did an installpkg */*.tgz from the Slackware cd and it seems to be working now.

    Weird...

Similar Threads

  1. Help with compile errors
    By gjansky in forum Ubuntu / Debian
    Replies: 12
    Last Post: 04-11-2008, 12:43 PM
  2. Events and Errors Database
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 12-31-2004, 10:15 PM
  3. Memory errors with XP Pro
    By in forum Windows - General Topics
    Replies: 18
    Last Post: 04-15-2004, 10:02 PM
  4. SLOW Installation & Errors
    By EWD in forum Mandriva
    Replies: 1
    Last Post: 08-05-2002, 04:43 AM
  5. ppp-2.4.1 errors!!
    By Toast0r in forum Linux - General Topics
    Replies: 5
    Last Post: 06-09-2002, 06:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •