Xorg-6.9 .0 Built, won't configure
I have Xorg-6.9 compiled, installed, but I'm falling over on the
Xorg -configure stage as follows
dlopen: /usr/X11R6/lib/modules/drivers/radeon_drv.so: undefined symbol: drmGetLibVersion
(EE) Failed to load /usr/X11R6/lib/modules/drivers/radeon_drv.so
(EE) Failed to load module "radeon" (loader failed, 7)
dlopen: /usr/X11R6/lib/modules/drivers/r128_drv.so: undefined symbol: drmGetLibVersion
(EE) Failed to load /usr/X11R6/lib/modules/drivers/r128_drv.so
(EE) Failed to load module "r128" (loader failed, 7)
dlopen: /usr/X11R6/lib/modules/drivers/ati_drv.so: undefined symbol: R128OptionsWeak
(EE) Failed to load /usr/X11R6/lib/modules/drivers/ati_drv.so
(EE) Failed to load module "ati" (loader failed, 7)
dlopen: /usr/X11R6/lib/modules/drivers/atimisc_drv.so: undefined symbol:
etc. Every single video driver fails (cga, vesa, etc). Freedesktop has this hidden onsite (can't post url yet)
dlloader will not work when LD_BIND_NOW is set, or when the
modules are linked with '-z now' as in gentoo-hardened. this is
unavoidable until we abandon LoadSubModule for link-time
dependencies. you'll get an error message about LD_BIND_NOW
though.
Workaround: fix your scripts to clear LD_BIND_NOW before starting X
Workaround (maybe): export LD_BIND_NOT=1 before starting X.
Indicates it's a LD problem. I have a hardened system - HLFS (hardened linux from scratch). I have tried the workarounds (they fail) and gone adding '-nonow' to MODLDFLAGS in the Xserver area which should, & recompiling. All the above files are in /usr/X11R6/lib/modules/drivers. What next?
|