LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-27-2007, 05:49 PM   #1
krassi
LQ Newbie
 
Registered: Mar 2007
Distribution: Debian 4 (x86_64); openSUSE 10.2 (x86_64); Knoppix 5.1.1 (as needed); still installing Slackware 12
Posts: 25

Rep: Reputation: 15
NVidia driver missing libc on Lenny (2.6.21-2-amd64)


Hi everyone,

Yesterday, I switched from etch to lenny and upgraded to kernel 2.6.21-2-amd64. When I tried to install the 64bit driver from NVidia's website it gave me this error:

"ERROR: You do not appear to have libc header files installed on your system. Please install your distribution's libc development package."

This is what I have installed:

$ls /lib/modules
2.6.18-4-amd64 2.6.21-2-amd64 2.6.21-2-vserver-amd64

$ls /usr/src
linux-headers-2.6.21-2 linux-headers-2.6.21-2-vserver-amd64
linux-headers-2.6.21-2-amd64 linux-kbuild-2.6.21
linux-headers-2.6.21-2-vserver linux-source-2.6.21.tar.bz2

$gcc --version
gcc (GCC) 4.1.3 20070629 (prerelease) (Debian 4.1.2-13)

also: linux-libc-dev (2.6.21-6)

I've tried pointing the installer to the kernel headers with "--kernel-source-path /usr/src/'uname -r' ". However, it didn't work. I have also tried some of the patched drivers that I found (the ones in connection with the paravirtualization issue) but I got nowhere with them as well.

At this point I am willing to try almost anything. I am even considering a roll back to 2.6.18.

I am running on a GA-K8N51GMF-9 nForce 430/6100 with an Athlon64 3000+ (OC'd to 1980MHz).

Any ideas...
Krassi
 
Old 07-28-2007, 02:47 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Don't panic, I really would not want to see someone go back in time. I've been running the 2.6.21 kernel for a few months and have compiled many a modem modules and Nvidia's 100.14.11.x86_64 driver. I'm actually running 2.6.22-1 kernel on another Lenny installation on another partition with the Nvidia driver and modem done up.
One thing I found handy running Lenny, is this section in /etc/apt/sources.list:
Code:
##################################
##### Kernel Archive Builder #####
##################################
#gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 29F335B3
#gpg --armor --export 29F335B3 | apt-key add -
deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main
Yet this may not be the source of your error, just comes in handy for installing proper packages once and a while.
Are you booting up to two different kernels every other day?, why do you have two different types of kernel headers?. Which kernel are you on when you get these errors.
Here's what I got installed in the 2.6.21 Lenny:
Code:
gcc-3.4-base 3.4.6-5
gcc-4.1 4.1.2-13
gcc-4.1-base 4.1.2-13
gcc-4.2-base 4.2-20070712-1
linux-headers-2.6.21-2 2.6.21-6
linux-headers-2.6.21-2-amd64 2.6.21-6
linux-image-2.6.21-2-amd64 2.6.21-6
linux-kbuild-2.6.21 2.6.21-1
linux-libc-dev 2.6.22~rc7-1~experimental
Don't ask me why I have "linux-libc-dev-2.6.22~rc7-1-experimental" installed, this is the first time I see it!!, I just tell synaptic to apply updates and everything runs over here. But I originally installed this kernel from Sid, so that may be why I got "gcc-4.2-base" in there, I don't know??.
EDIT: The only time I have unstable uncommented in my sources.list is when I install a kernel from there, so these packages I have installed are the results of Lenny updates.

Last edited by Junior Hacker; 07-28-2007 at 02:55 AM.
 
Old 07-28-2007, 03:18 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I have to say,
Something very odd here, linux-image-2.6.21-2-vserver-amd64 is available in repositories including headers, yet you have the source package suggesting you compiled your own. Well, maybe you have a reason for compiling your own, but there's no reason to have linux-headers-2.6.21-2-amd64 installed if your not running linux-image-2.6.21-2-amd64. Because it looks like you're running kernel-2.6.21-2-vserver-amd64. The gcc-3.4 is a dependency for openoffice.org in my setup apparently.
 
Old 07-28-2007, 08:26 AM   #4
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
Please install your distribution's libc development package
Quote:
linux-libc-dev (2.6.21-6)
Is not the libc development package, it is something else, you want libc6-dev or libc6-dev-amd64. If that is not what nVidia are looking for then I dunno.
 
Old 07-28-2007, 10:05 AM   #5
krassi
LQ Newbie
 
Registered: Mar 2007
Distribution: Debian 4 (x86_64); openSUSE 10.2 (x86_64); Knoppix 5.1.1 (as needed); still installing Slackware 12
Posts: 25

Original Poster
Rep: Reputation: 15
Just woke up ...

My current running kernel is 2.6.21-2-amd64 (uname -r). Most of the other kernel headers and stuff are leftovers that I need to clean up. I have the same versions of gcc with the exception that I also have gcc-3.3 I was installing something that needed last night when I came back. I have no idea what I was installing though. However, Daws, you might be right I just noticed I don't have the libc6-dev installed. I could have sworn I had it installed.

I'll try it and I'll post back. But first I'm getting a cup of coffee.

Krassi

PS: As a reminder - no su access to drunk people. I did something to my samba server last night but I have no recollection of ever touching it....
 
Old 07-28-2007, 11:08 AM   #6
krassi
LQ Newbie
 
Registered: Mar 2007
Distribution: Debian 4 (x86_64); openSUSE 10.2 (x86_64); Knoppix 5.1.1 (as needed); still installing Slackware 12
Posts: 25

Original Poster
Rep: Reputation: 15
Talking

Thanks guys, it worked

It was the libc6-dev libraries. I could have sworn I had them installed. By the way thanks for the kernel mirror Junior Hacker. Now all I have to do is figure out what I did to break my samba server last night.
 
  


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
trying to install NVIDIA driver and i dont have libc headers malanco Linux - Newbie 2 06-30-2007 04:05 PM
nvidia driver 'missing' after ~current and running sh NVIDIA soylentgreen Slackware 13 03-26-2007 09:17 PM
Nvidia driver w/ AMD64 + Mandrake10 Natfly Linux - Software 1 06-22-2004 01:36 PM
nVidia AMD64 Driver does not install Beaker Mandriva 0 06-14-2004 07:16 PM
Linux 9 (AMD64) and Nvidia driver goulartca Linux - Software 12 03-17-2004 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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