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. Killing an XSession
    By jro in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 03-25-2006, 02:28 PM
  2. Killing Linux
    By stryder144 in forum General Chat
    Replies: 12
    Last Post: 08-01-2003, 12:55 PM
  3. Whose been killing my karma!!
    By Ashcrow in forum General Chat
    Replies: 23
    Last Post: 08-01-2002, 08:55 AM
  4. unavailable fonts killing X
    By gorb in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 04-27-2002, 06:11 AM
  5. The irony is killing me.
    By Feztaa in forum General Chat
    Replies: 6
    Last Post: 03-21-2002, 02:54 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
  •