[forum] Facing problem in xinit

Syed Irfan Ali Zaidi iali@ayesoft.com
Tue, 3 Jan 2006 04:48:37 -0500 (EST)


Hi Dear

I want to make a my bootable file system to run my application (developed
using gtk).
I want to run xerver for it.
I have compiled kernel 2.6.14 for this purpose and prepared a root image
to load as ram disk.

I have selected xvesa for my server. And placed relevant shared libraries
in the file system for bootable cd. I placed the binary of xinit too to
start the xserver and written a simple xinitrc script and startx scripts.

On booting when the startx script tries to run xinit then error comes

error loading the shared libraries: libc.so.6: connot handle the TLS data.
I used the "ldd xinit" to check the dependent library files

        linux-gate.so.1 =>  (0xffffe000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4003d000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40136000)
        libdl.so.2 => /lib/libdl.so.2 (0x40255000)
        /lib/ld-linux.so.2 (0x40000000)

and placed the libraries in the same manner as described above. But still
getting the above error.
I have no idea how to resolve it. Please guide me to solve it.
Thanx

AyeSoft
[Software Engineer]