LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-08-2005, 05:09 AM   #1
Akiva
LQ Newbie
 
Registered: Mar 2005
Location: United Kingdom
Distribution: Ubuntu (Hoary Hedgehog)
Posts: 15

Rep: Reputation: 0
GNOME Display Manager fails to load during startup


Dear All,

I have installed Ubuntu recently (loving it) and have experienced almost no problems (for a newbie).

Last night I decided to get myself some software. My machine not on the internet, I couldn't try out the apt-get stuff I read about but instead used the source. I tried to install Xine-lib (did not install for X11 or something like that), xine-ui (said it couldn't find xine-lib), RealPlayer (worked).

After another try of xine-lib, my gnome-session started to not respond. I tried a logout and login, but as soon as I logged out I was stuck. A reboot did not do anything else.

It now starts up into a text logon - prior to that, it show that gdm doesn't load.

I have tried 'startx' in commandline but that only gives me an error (no such file or directory).

Thanks in advance,
Akiva

[EDIT] The xine website told me to fiddle around with the ld.so.conf file in /etc. I did that but have now changed it back using terminal.

Last edited by Akiva; 05-08-2005 at 05:11 AM.
 
Old 05-08-2005, 06:53 AM   #2
polrus
Member
 
Registered: Oct 2004
Location: Poland
Distribution: yoper
Posts: 53

Rep: Reputation: 15
try running ldconfig as root
if that doesnt' help post ur log files
/var/log

they surely will show You/us what files u r missing
 
Old 05-08-2005, 07:07 AM   #3
Akiva
LQ Newbie
 
Registered: Mar 2005
Location: United Kingdom
Distribution: Ubuntu (Hoary Hedgehog)
Posts: 15

Original Poster
Rep: Reputation: 0
Sorry about the late reply...

Wow! Genius! It works now...I did an ldconfig and rebooted. Back to Ubuntu.

I just want to know how I screwed up now: what does ld.so.conf do? Does it specify something for X to use? If so, what does xine want with it?

Thanks a lot!

Akiva
 
Old 05-08-2005, 07:19 AM   #4
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 32
Quote:
Originally posted by Akiva
Sorry about the late reply...

Wow! Genius! It works now...I did an ldconfig and rebooted. Back to Ubuntu.

I just want to know how I screwed up now: what does ld.so.conf do? Does it specify something for X to use? If so, what does xine want with it?

Thanks a lot!

Akiva
ldconfig generates a list of dynamic libraries so that programs compiled dynamically can find them. ld.so.conf is simply a list of directories where they can be found.

Statically compiled programs will include the libraries into the executable file when compiled making them much larger. Most programs are dynamically linked.

And no you didn't break anything It is fairly normal to have to run /sbin/ldconfig after installing or compiling software...

Last edited by n0xvb; 05-08-2005 at 07:30 AM.
 
Old 05-08-2005, 08:44 PM   #5
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by n0xvb
ldconfig generates a list of dynamic libraries so that programs compiled dynamically can find them. ld.so.conf is simply a list of directories where they can be found.

Statically compiled programs will include the libraries into the executable file when compiled making them much larger. Most programs are dynamically linked.

And no you didn't break anything It is fairly normal to have to run /sbin/ldconfig after installing or compiling software...
Thanks, n0xvb! I didn't know about ldconfig--I knew about static versus dynamic program compilation, but didn't know there was a tool for helping programs find the libraries they need. That could have, probably, saved me a lot of grief and manual creation of links in the past.

I'll try to remember to run ldconfig after every compilation of a non-static package from now on.

(I've found a few static ones that couldn't locate existing libraries, too.)
 
Old 05-10-2005, 11:13 PM   #6
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 32
Yeah, whenever I do a compile I always add the ldconfig to the end. I've been bitten by that same problem!

./configure;make;make install;/sbin/ldconfig
 
  


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
How to load KDE (instead of GNOME) on startup? l2g Slackware 12 12-16-2010 03:28 PM
Gnome Theme-manager crashes on startup distortedstar Linux - Software 1 04-11-2009 11:08 PM
gnome display manager thshunm Linux - Newbie 1 02-14-2005 10:01 PM
Load apps on startup of gnome? jon_k Linux - Software 1 01-15-2005 05:18 PM
Gnome startup fails (used to work) Pingo Linux - Newbie 4 03-04-2002 12:19 AM


All times are GMT -5. The time now is 09:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration