LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-05-2007, 07:15 AM   #1
oguzhanozgul
LQ Newbie
 
Registered: Jan 2007
Location: Turkey
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Question (SOLVED) DEBIAN: GDM won't start, fglrx needs libstdc++.so.5, but not found


Hi ,

I finally managed to install Debian Etch on my machine, dual booting to WinXP Pro. P965 motherboard ( solved the JMicron problem by using the daily netinst cd, installing only the basic system, apt-cdrom add the first 2 CD's of the weekly builds, and installing X with GNOME.), ATI X1900GT at PCIe, 2 GB of RAM, 250 GB HD, 19" Samsung 960BF TFT-LCD, wireless Logitech mouse and keyboard.

Managed to startx by using "vga" driver on my X1900GT, got gnome working at 320x200 resolution.

Downloaded ati fglrx driver ver. 8.33.6 from ati site. Installed it using the .run installer.

Now, when I try to startx, my screen goes blank, and ctrl-alt-bkspc won't work, I have to hard reset the system.

At the end of the the log file (I can't remember the name, may be Xorg.0.log), it says that dependency libstdc++.so.5 is not there. I managed to figure out that fglrx needs GCC 3.3.5 after some googling. I have GCC 4.0 and GCC 4.1. So I have libstdc++.so.6. Does installing GCC 3.3.5 mean downgrading? As I read somewhere it is not possible to downgrade Debian.

How can I solve this problem?

modprobe fglrx says that the module is loaded, fglrxinfo says no screen services or something similar. (I'm at work now so I can't really write the exact messages and such). fglrxconfig -> no such command.

I read that compiling the source instead of using ati's installer will solve the problem, but I don't know how to compile under linux.

Anything will be helpful, thank you.

Last edited by oguzhanozgul; 02-06-2007 at 02:52 AM.
 
Old 02-05-2007, 09:29 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I think that I would first try creating a link called libstdc++.so.5 that points to libstdc++.so.6. I would make it a soft link so that you can tell the difference between the original and the one that you created.

Log on as root, then enter the following commands.
Code:
cd /usr/lib
ln -s libstdc++.so.6 libstdc++.so.5
If it doesn't work then you can always delete the soft link.

Alternatively you could use the apt-cache (I think) utility to see what packages provide the file that you want. If it is only supplied in GCC 3.3.5 you could always install that alongside the newer version that you've got. That could overwrite files that you have in directories like /usr/lib that are shared by both versions of GCC so it might cause trouble.
 
Old 02-05-2007, 10:08 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
You should have used the drivers from Debian's repos. Here's a howto I wrote a while back. The only thing that has changed is references to Sid. Everything is in Etch now.
 
Old 02-06-2007, 02:52 AM   #4
oguzhanozgul
LQ Newbie
 
Registered: Jan 2007
Location: Turkey
Distribution: Debian
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you very much. I've solved it put installaing libstdc++5 and GCC3.3 packages. GDM didn't start. Examined xorg.0.log. It said that this fglrx driver doesn't support 8 bit color depth. Edited xorg.conf to change default bit depth to 24, and there GNOME was in front of me
 
  


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
libstdc++.so.5:version GLIBCPP_3.2 not found error RaviPrakash Linux - General 1 09-28-2005 02:28 PM
libstdc++-libc6.2.2.so.3 not found dennisparrott Linux - Software 3 01-24-2005 07:10 AM
libstdc++ can't be found darrenjhopkins Linux - Newbie 5 12-07-2004 09:24 AM
libstdc++ not found, though installed GTBlackwell Linux - Software 4 07-10-2004 03:33 PM


All times are GMT -5. The time now is 08: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