Exec format error in X binaries

Exec format error in X binaries

Post by Henri Fab » Wed, 28 Jul 1993 19:48:48



I recently upgraded the kernel, gcc and the C-libraries and installed the
NET-2 package (only loop-back) and it works fine. But now I'm trying to
upgrade XFree86 to version 1.3 and all X-binaries give a strange error when I
try to execute them. For some reason, the X libraries seem to contain a double
/ character in the name, which causes the loader to abort the program.

When an X program is started outside of X, the same error occurs, but when I
compile a program that uses X myself and execute it outside of X, I get the
usual "Unable to open display" error, and the libraries seem to be OK.

Here follow the messages generated by X when starting up. It contains two
errors that I meant to clean up when I got X to start. X comes up on my
monitor but only for a short time, since all programs started by startx can't
be properly loaded. The XFree86 1.2 that came with SLS worked fine.

Setting TCP SO_LINGER: Protocol not available
XFree86 Version 1.3 / X Window System
(protocol Version 11, revision 0, vendor release 5000)
Operating System: Linux
Configured drivers:
  VGA256 (256 colour SVGA):
      et4000, et3000, pvga1, wd90c00, wd90c10, wd90c30, gvga, ati,
      tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga9000, clgd5420,
      clgd5422, clgd5424, clgd5426, ncr77c22, ncr77c22e, cpq_avga
(using VT number 7)

Xconfig: /usr/X386/lib/X11/Xconfig
Mouse: type: MouseSystems, device: /dev/mouse, baudrate: 1200
Warning: The directory "/usr/X386/lib/X11/fonts/Type1/" does not exist.
         Entry deleted from font path.
FontPath set to "/usr/X386/lib/X11/fonts/misc/,/usr/X386/lib/X11/fonts/Speedo/,/usr/X386/lib/X11/fonts/75dpi/"
VGA256: ET4000: Initial hibit state: high
VGA256: et4000 (mem: 1024k numclocks: 16)
VGA256:   clocks:  25.18  28.32  32.65  36.10  40.10  45.00  31.55  37.75
VGA256:   clocks:  50.36  56.64  65.30  72.20  80.20  90.00  63.10  75.50
VGA256: Mode "1024x768": mode clock =  75.000, clock used =  75.500
VGA256: Mode "800x600": mode clock =  40.000, clock used =  40.100
VGA256: Mode "640x480": mode clock =  25.000, clock used =  25.180
VGA256: Virtual resolution set to 1024x768
VGA256: SpeedUp mode selected (Flags=0x3f)
PEXExtensionInit: Couldn't open default PEX font file  Roman_Mxrdb: can't load library '/lib//libXt.so.3'
        Exec format error.
twm: can't load library '/lib//libXt.so.3'
        Exec format error.
xterm: can't load library '/lib//libXt.so.3'
        Exec format error.
xclock: can't load library '/lib//libXt.so.3'
        Exec format error.
xterm: can't load library '/lib//libXt.so.3'
        Exec format error.
xterm: can't load library '/lib//libXt.so.3'
        Exec format error.

waiting for X server to shut down

xinit:  Interrupted system call (errno 4):  Client error.

The libraries are in /lib. The links to the libraries are correctly installed
in /lib: /lib/libXt.so.3 is a symbolic link to libXt.so.3.0.1 etc.

When X exits, I am returned to a black screen. The monitor seems to be in
sync, so I think X doesn't restore the color palette (I had something like
that with XFree86 version 1.2, when it would only restore black and grey, but
not white).

My setup is:

Linux kernel 0.99.11
gcc 2.4.3
libc 4.4.1
XFree86 version 1.3, without PEX (no room for it on my harddisk at the
moment).

I'd appreciate any help that you can give,

Henri Faber

 
 
 

1. csh : Exec format error???

  We upgraded to 3.2.3 awhile back and we cannot figure out the following
 error:

  % ftp
  Could not load program ftp
  Symbol same_host in csh is undefined
  Error was: Exec format error

  What are we missing?? Is this in (should it be in?) the FAQ?

 Trev

--
Name : Trevor Paquette       | Landmark/ITA             |  _\___ Fahrvergnuegen

Visitor from CyberSpace      | (403) 269-4669           |/ G60       \
Renegade of Virtual Reality  | #include <disclaimer.h>  |\-O------O--/

2. Problem with X

3. Exec format error from execl

4. Jobs - London

5. smbfs: exec format error (4.4 with GENERIC)

6. "adduser" won't...

7. exec format error

8. 3D fx card (banshee) on PPC 2000

9. HELP <Exec Format Error: Wrong Architecture> ??!!??

10. execl -- ENOEXEC Exec format error

11. 1.3.63 (Aaargh): Exec file format error

12. execl -- fails with ENOEXEC (Exec Format error)

13. Error in Exec Format