Re: current cvs builds but crashes

Graydon (oak@uniserve.com)
Fri, 13 Jun 2003 14:44:13 -0400


On Fri, Jun 13, 2003 at 05:39:19PM +0100, Aidan Kehoe scripsit:
>  Ar an 13ú lá de mí 6, scríobh Graydon :
>  > Adding 'make clean' before 'make' in the spec file, I still get
>  > 
>  > /usr/bin/X11/afterstep: relocation error: /usr/X11R6/lib/libAfterStep.so.0: undefined symbol: flip_gradient
>  > 
>  > As the only output from AfterStep before X server shutdown.
>  > 
>  > Interestingly enough, if I try 'afterstep -v' I get the same error with
>  > that build but *not* with the previous one, which politely tells me
>  > 
>  > 11:36 graydon % afterstep -v
>  > AfterStep version 1.99.0
> 
> Does "ldd /usr/bin/X11/afterstep" mention libAfterstep.so? If not, that
> library may have to be added to the linker command line that creates the
> binary. 

It does indeed mention libAfterStep.so:

14:41 graydon % afterstep -v
afterstep: relocation error: /usr/X11R6/lib/libAfterStep.so.0: undefined
symbol: flip_gradient
14:41 graydon % ldd /usr/X11R6/bin/afterstep
        libAfterConf.so.0 => /usr/X11R6/lib/libAfterConf.so.0 (0x4002d000)
        libAfterStep.so.0 => /usr/X11R6/lib/libAfterStep.so.0 (0x40047000)
        libAfterImage.so.0 => /usr/lib/libAfterImage.so.0 (0x40086000)
        libAfterBase.so.0 => /usr/lib/libAfterBase.so.0 (0x400c0000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x400f9000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x4014a000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4018b000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x401a9000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0x401cc000)
        libz.so.1 => /usr/lib/libz.so.1 (0x401d5000)
        libm.so.6 => /lib/tls/libm.so.6 (0x401e3000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40205000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x402e4000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x402ed000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40304000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        libdl.so.2 => /lib/libdl.so.2 (0x40313000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

-- 
oak@uniserve.com | Uton we hycgan    hwaer we ham agen,
                 | ond thonne gedhencan    he we thider cumen.
                 |   -- The Seafarer, ll. 117-118.
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users