LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-24-2007, 10:09 PM   #1
amishpurple
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Rep: Reputation: 0
Xorg Help


Hopefully someone can help me out or point me in the right direction. I can build and install Xorg no problem - I don't see any errors. I follow all the instructions in the book step by step. But when it comes time to run configure I'm getting command not found.

cd ~ && Xorg -configure
bash: Xorg: command not found

I've done this 4 times now. I originally tried with Xfree86, and I've tried 3 times now with Xorg. I'm following along in BLFS 6.2.
 
Old 03-24-2007, 11:28 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Are you root when running the command? If so, try as user... And vice versa.
Also, check in /bin and /usr for the file 'Xorg', or use 'find' to see if it actually is there somewhere.
 
Old 03-24-2007, 11:35 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Did you add /usr/X11R6/bin to your PATH variable? If so, then I suspect something went wrong with your install or the binary should work.

BTW, the instructions here are more up to date than BLFS.
 
Old 03-25-2007, 12:10 PM   #4
amishpurple
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Original Poster
Rep: Reputation: 0
GrapefruiTgirl:

Yup I was trying to run it as root. I have Xorg in /usr/X11R6/bin and /usr/bin/X11. If I try to run Xorg from within either of those I get:

./Xorg: error while loading shared libraries: libXau.so.6: cannot open shared object file: No such file or directory.

Does this mean the install did not complete?


Arow:
I added it even though I shouldn't need to since I'm using the default /usr/X11R6 directory.

I will take a look at that page and try to rebuild with those instructions I guess.
 
Old 03-25-2007, 12:43 PM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I don't *think* it necessarily means the install didn't complete. You may want to repeat the 'find' or search for the file libXau.so.6 and if you find it somewhere, then the problem *might* be a missing symlink. Conversely, it may be that that file actually IS supposed to be the symlink, linked to another very similarly named file.
Continue with what you might be doing RE: Arow's suggestion, and/then look for the libXau.so.6 if the problem persists.
One would think that if anything went wrong with the install, you would get an error(s)....
BTW - are you using a particular distro? It may help to run something like ldconfig or (in the case of Slackware for example) swaret --dep to repair screwed up libraries.
 
Old 03-25-2007, 12:47 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by amishpurple
./Xorg: error while loading shared libraries: libXau.so.6: cannot open shared object file: No such file or directory.

Does this mean the install did not complete?
Did you execute ldconfig as root? You probably haven't updated your database of shared libraries.

Quote:
Originally Posted by amishpurple
I added it even though I shouldn't need to since I'm using the default /usr/X11R6 directory.
Sure you do. Did you finish reading the BLFS instructions?

Last edited by weibullguy; 03-25-2007 at 12:48 PM.
 
Old 03-25-2007, 07:16 PM   #7
amishpurple
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Arow
Did you execute ldconfig as root? You probably haven't updated your database of shared libraries.

Sure you do. Did you finish reading the BLFS instructions?
ldconfig did it. Thanks much!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Migration from XOrg-6.8.2 to XOrg-7.1 brings me troubles XPinguin Linux - Desktop 1 01-20-2007 09:26 AM
xorg screen res not being set properly with Xorg 6.9.0 sgnome Linux - Laptop and Netbook 2 06-12-2006 02:26 AM
recent dist-upgrade of xorg has killed my mouse (and thusly, xorg). Lokathor Debian 4 06-10-2006 04:52 AM
replace 'xfree86' by 'xorg' in your xorg config file dindoung Linux - Newbie 2 02-26-2005 04:43 AM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:12 AM.

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