Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having trouble installing nvidia drivers on my AMD64 machine - I've just installed slackware 10.0, and then downloaded the 2.6.7 kernel sources. I got crosstoools so I could compile a x86_64 kernel from my 32 bit (emulated) 2.4 kernel - rebooted, and finally got that all working fine with the ARCH and CROSS_COMPILE flags and such.
But then I downloaded the latest AMD64 nvidia driver for my 5700 Ultra (Version: 1.0-6111). As root, I run:
sh ./NVIDIA-Linux-x86_64-1.0-6111-pkg2.run
and I get:
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-6111........................................................................
./NVIDIA-Linux-x86_64-1.0-6111-pkg2.run: line 615: ./nvidia-installer: No such file or directory
I tried the -x (extract only) option, and then changed to that directory and ran ./nvidia-installer to get the same error. I made quadruple sure I didn't mistype or something, even redownloaded the file again - I have no idea what's going on.
I had this same card running in slack 10.0 on the 2.6.7 kernel on a 32 bit processor, so I don't think it's a slackware problem, but a 64 bit linux problem. Could it have something to do with the default gcc compiler being set up for 32 bit? I've set the symbolic link correctly for /usr/src/linux, System.map, etc. I've googled until my fingers are numb but haven't found anything that works or is helpful.
You're trying to run a 64-bit program (the installer) on a machine with 32-bit libs. My guess would be that it is unable to find the correct glibc libs to load.
Yeah, I kind of figured it was something along those lines, but wasn't sure how to fix it. I ended up just installing the x86_64 version of fedora core 2. But because I have the 64 bit version of fedora installed, when I want to build things from source, can I still just do "./configure; make; make install" and it is in "64-bit mode" or do I have to change some variables or compile flags somewhere to keep it from building in 32 bit mode and running emulated? I figure that since I have a 64 bit proc, I might as well make use of it, but wasn't sure if it would do that by default. thanks
I've never used Fedora 64-bit but it probably installs a 64-bit compiler. In that case ./configure make make install should give you 64-bit binaries. The way to check is to look at the first couple lines of the ./configure output. If it mentions x86_64-pc-linux-gnu, then it's compiling for 64-bit. If it mentions i686-pc-linux-gnu, it's only doing 32-bit.
Ok, thanks. By the way, do you have 64 bit gentoo running, by chance? I had a stage 1 gentoo on my old machine, but wanted to give 64 bit gentoo a try - anything special I should know before jumping in? I appreciate your help - I've done a fair amout of linux but this 64 bit stuff is new to me
It's kinda new to me too I got my Opteron box a couple weeks ago and I've been running gentoo on it since. So yes, I am running 64-bit gentoo but I'm not very experienced with it yet. So far, it's all worked pretty well. The only downsides are that I can't use flash easily (since Macromedia only provides 32-bit binaries) and there aren't as many packages available. In a pinch, you can set ACCEPT_KEYWORDS to x86 or ~x86 and try to install a non-amd64 approved package. I've done it sucessfully a couple of times (only on small packages, though) but it probably isn't recommended.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.