nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   6629 Problem not an ELF file? (http://www.nvnews.net/vbulletin/showthread.php?t=40969)

jeff_sadowski 11-18-04 02:14 PM

6629 Problem not an ELF file?
 
After installing 6629 ldconfig now says the following.

ldconfig: /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.6629 is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1 is not an ELF file - it hasthe wrong magic bytes at the start.

ldconfig: /usr/lib/libGL.so.1 is not an ELF file - it has the wrong magic bytesat the start.

ldconfig: /usr/lib/libGL.so.1.0.6629 is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/lib/libGL.so is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/lib/libGLcore.so.1 is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/lib/libGLcore.so.1.0.6629 is not an ELF file - it has the wrong magic bytes at the start.

I re-downloaded the driver and ran a diff against my original download no difference so I doubt the file is corrupt besides it unpacks with no errors
and installs even with noerrors. but when I try to run it the screen goes blank
like others have reported. I have Slackware current as of nov 18 2004.
I am running kernel 2.6.8.1 and nvidia 6111 works fine. I am hoping the errors
Im reporting might shed new light on the issue. Do I need something different with ldconfig to support non-ELF files? Is this a kernel issue? I swore I compiled in
all three binary support into the kernel.
Heres what make menuconfig says for my 2.6.8.1 build
[*] Kernel support for ELF binaries
<*> Kernel support for a.out and ECOFF binaries
<*> Kernel support for MISC binaries

thats all the binaries I can find in the kernel options.

What am I missing?
Do I need a newer ldconfig?

ldconfig --version
ldconfig (GNU libc) 2.3.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Andreas Jaeger.

I tried the suggestion
sh NVIDIA-Linux-x86-1.0-6629-pkg1.run --force-tls=new

with the same result. I still get the error messages by ldconfig

Any help would be greatly appreciated. Thanks
I was wanting to upgrade the kernel.
Is there a driver patch for 6111?
this might be easier for a temporary solution that or go with xorg drivers
then pinball would run choppy. yall gotta try the pinball game it rocks.
:-)

Spyke 11-18-04 03:16 PM

Re: 6629 Problem not an ELF file?
 
What distro is this?

Lithorus 11-18-04 03:28 PM

Re: 6629 Problem not an ELF file?
 
md5sum libGLcore.so.1
45eabc9f5248a554e32cdd173f12bf59 libGLcore.so.1

md5sum libGL.so.1
cedd8594c438097bc06fb198e8370198 libGL.so.1

jeff_sadowski 11-18-04 07:43 PM

Re: 6629 Problem not an ELF file?
 
Yes those are the files I have they are not ELF format.
md5sum ./usr/lib/libGL.so.1.0.6629
cedd8594c438097bc06fb198e8370198 ./usr/lib/libGL.so.1.0.6629
md5sum ./usr/lib/libGLcore.so.1.0.6629
45eabc9f5248a554e32cdd173f12bf59 ./usr/lib/libGLcore.so.1.0.6629

thats the same md5sum thanks for those Im certain now that this is the
problem some of us are having what version of ldconfig are you using

Spyke 11-18-04 10:29 PM

Re: 6629 Problem not an ELF file?
 
Let me guess, Gentoo.

jeff_sadowski 11-21-04 06:07 PM

Re: 6629 Problem not an ELF file?
 
No I'm using Slackware Current last upgraded 11-18-2004
What version of glibc are you using with your Slackware Current?

dimitri 04-04-05 10:42 AM

Re: 6629 Problem not an ELF file?
 
I'm using Fedora Core 2 and I see the same problem. This is not an issue related to a buggy distribution:

# file /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.6629
/usr/X11R6/lib/libXvMCNVIDIA.so.1.0.6629: data
# /sbin/ldconfig
/sbin/ldconfig: /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.6629 is not an ELF file - it has the wrong magic bytes at the start.
#

The strange thing is that we have updated from 6629 to 7167 so this file shouldn't be there in the first place:
# ls /usr/X11R6/lib/libXvMCNVIDIA*
/usr/X11R6/lib/libXvMCNVIDIA.a
/usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1
/usr/X11R6/lib/libXvMCNVIDIA.so.1.0.6629
/usr/X11R6/lib/libXvMCNVIDIA.so.1.0.7167
#

lightsout 04-04-05 04:49 PM

Re: 6629 Problem not an ELF file?
 
What happens when you run "file" on this files?

Quote:

file /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.7174
/usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.7174: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
My only thought is that the x86-64 binaries have been installed on a i386 system, but that seems unlikely?

dimitri 04-05-05 03:47 AM

Re: 6629 Problem not an ELF file?
 
These are certainly not x86-64 binaries, I would expect 'file' to be able to identify them. For example it is able to identify a Solaris/SPARC library:

$ file libGL.so.1
libGL.so.1: ELF 32-bit MSB shared object, SPARC, version 1 (SYSV), not stripped
$

Also this happened on a few machines only. I guess something went wrong during the upgrade to 7167 or during the installation of 6629. The strange thing is that OpenGL programs had always worked properly on this machine as far as I can remember.


All times are GMT -5. The time now is 06:28 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.