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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-08-2005, 04:09 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2005
Location: United Kingdom
Distribution: Ubuntu (Hoary Hedgehog)
Posts: 15
Rep:
|
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 04:11 AM.
|
|
|
|
05-08-2005, 05:53 AM
|
#2
|
|
Member
Registered: Oct 2004
Location: Poland
Distribution: yoper
Posts: 52
Rep:
|
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
|
|
|
|
05-08-2005, 06:07 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2005
Location: United Kingdom
Distribution: Ubuntu (Hoary Hedgehog)
Posts: 15
Original Poster
Rep:
|
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
|
|
|
|
05-08-2005, 06:19 AM
|
#4
|
|
Member
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255
Rep:
|
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 06:30 AM.
|
|
|
|
05-08-2005, 07:44 PM
|
#5
|
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
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.)
|
|
|
|
05-10-2005, 10:13 PM
|
#6
|
|
Member
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:10 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|