LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2006, 09:02 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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?
 
Old 01-16-2006, 03:12 AM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Do you have libdrm.so?
 
Old 01-17-2006, 04:53 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Arrow

Thanks for your reply.

Yes, libdrm.so is in X11R6/lib/modules/linux. But it's not only the drm modules that crap out - framebuffer, vesa, and vga modules all do as well. This link
http://fredesktop.org/~ajax/dlloader.txt

points to the linker on my hardened system as a cause. The linker is actually
defined as 'gcc -m32 -nostdlib'; On top of that, there is a bevy of options thrown in (by patching) to achieve hardened compiling. I've just had an intelligent suggestion from one of the hardening gurus on changing them to change the linking options, and I'm hopeful about that. I'll build that this evening and post if successful.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure xorg failed binary Debian 4 12-21-2005 08:52 AM
Is it possible to configure Xorg to work as proxy? wilho Linux - Software 2 08-27-2005 03:18 PM
After configure xorg with TV-Out X won't reboot or exit. lavitz Linux - Hardware 0 03-10-2005 04:35 AM
Xorg, Xorg -configure fail kupek85 Linux - Software 3 08-05-2004 08:09 PM
Configure xorg iotc247 Slackware 1 05-30-2004 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration