[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: X in debian...



Deivanayak T Balakrishnan proclaimed:
> I installed Debian 2.0 and realised, the default Xfree86 version does not have
> my card listed. I upgraded the Xfree86 version to 3.3.5 and i was able to choose
> my card. I ran Xf86config and positively answered for all queries.
> 
> Now when i startx i get the following error...
> "
> /usr/X11R6/bin/X:error in loading shared libraries
> : undefined symbol: __register_frame_info
> -X11 TransSocketUNIXConnect : Cant connect : errno = 2
> (6 times)
> giving up
> Xinit : No such File or directory (errno = 2) : Unable to connect to X server
> Xinit : No such process (errno = 3) : server error
> "
> 
> I am not able to fix it - i am not able to identify the config error.

It looks like a dependancy problem to me.  The X packages have been split
into multiple smaller packages in later versions of Debian.  So it might be
that you installed some package but did not upgrade the other related
packages which contain the libraries.

http://www.debian.org/Packages/unstable/x11/xbase.html has a listing of all
the required packages for installing X.

Do the following:

$ ldd /usr/X11R6/bin/X
        /lib/nfslock.so.0 => /lib/nfslock.so.0 (0x40014000)
        libc.so.6 => /lib/libc.so.6 (0x4001c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

$ ldd /usr/X11R6/bin/xinit
        /lib/nfslock.so.0 => /lib/nfslock.so.0 (0x40014000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4001c000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4002e000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40076000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4007f000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40095000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400a1000)
        libc.so.6 => /lib/libc.so.6 (0x40141000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

As you see ldd lists the dynamic libraries against which the software has
been compiled against and their locations on the machine.

Also, run 'ldconfig' as root just to make sure that the availability of the
new libraries that you might have installed are recorded by the system.


> Meanwhile i am planning to switch back to RH 5.2 - not because of
> frustration but i realise the learning curve (in debian) is steep 
> and i will have to tackle it when i get more time.

At the risk of starting a flame war and being labelled a fanatic I have
this advice to you:  Don't go back.  You have already crossed the major
hurdle.  viz. Debian's daunting installation.  This current situation
should seem frustrating.  But keep the chin up and look at it as an
oppurtunity to learn lots more.  I mean even in this single mail you have
learnt 2 new things - ldd and ldconfig
 
Thaths
-- 
"Dough... the stuff that buys me beer. Ray... the guy that sells me beer.
Me... the guy who drinks the beer. Far... the distance to my beer.
So... I think I'll habe a beer. La... La la la la la beer.
Tea... No thanks, I'm drinking beer." -- Homer J. Simpson
Sudhakar C13n http://people.netscape.com/thaths/ Lead Indentured Slave
---
Send e-mail to 'ilugc-request@xxxxxxxxxxxxxxxxxx' with 'unsubscribe' 
in either the subject or the body to unsubscribe from this list.