i got this error in fedora 13 64 bit lib/ld-linux.so.2: bad ELF interpreter: No such file or directory.how can i fix it?
i got this error in fedora 13 64 bit lib/ld-linux.so.2: bad ELF interpreter: No such file or directory.how can i fix it?
Whatever program it is you are running requires 32bit libraries. In this case the file you need is in the package glibc.i686.
If you use yum an even easier way to fix 32bit issues like this (other programs or even the one you are running may have problems with other files missing) is to use "yum install fle_to_install" (e.g. "yum install lib/ld-linux.so.2"). Yum will then look for any package containing that file and offer to install it.
F15 x86_64 - AMD FX60 - 4GB DDR - 4x 1TB RAID0 - 2x 9800GX2
F15 x86_64 - AMD64 X2 3800+ - 1GB DDR - 2x 750GB - 7800GT
OOKernel OS - AG2 GCU - 32TB ARAM - 1TB PRAM - AG1 TCU
thanks for the help.
I was wondering though about using yum install to install things I've downloaded from internet. For example: I've downloaded a Dwarf Fortress game and it came in .tar.bz2 file. Do I first decompress it and then run the yum install on the main file, or to do it on the compressed file (whatever the extension it be)?
Thanks for the help.
I would imagine yum on the compressed file might not work. I would suggest decompressing the file and see what file needs to be installed.
If the file is a .tar.b2z file then wouldn't you need to ./configure ; make ; make install ???
I've downloaded the game in the tar.b2z file and have extracted it. In the newly created folder I see no .configure file and nothing in any of the text files tells me what to do with this game. The web site ... The forum wasn't working too well when I visited.
Do you have redhat-lsb installed?
rpm -qa | grep redhat-lsb
Nope. I do not have redhat-lsb installed.
I managed to get the game running actually. I installed all the required libraries and executed the program 'df' to start the game. It did give some errors, mostly, about not being able to find some theme engines. One example is below,
(Dwarf_Fortress:8454): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks"
Hi,
New to the forum. This post pretty much describes my issue, but, when I do "yum install ld-linux.so.2" I get another error mesg.
Thoughts?Code:file /usr/lib64/audit from install of glibc-2.16-30.fc18.x86_64 conflicts with file from package audit-2.2.1-2.fc18.x86_64
Thanks in advance,
Chris
It's hard to say without the full output but I suspect it's because you left out the directory part from my example. Without the "lib/" part yum can pick up other files with the same name in other directories (i am not near a computer at the moment but audit could contain such a file). In addition since you left off the lib directory the 64bit file would match just as well and yum is supposed to pick 64bit over 32 when it has the choice which would make the whole exercise pointless.
If it still fails with what I actually said then please post the complete yum output and I can hopefully help you further.
In addition of course the original problem can also be fixed with by installing glibc.i686 or redhat-lsb.i686 (which automatically requires the former and some other stuff). The other way I posted purely as a more flexible way that can be applied to other similar problems.
Last edited by John5342; 30th April 2013 at 06:04 AM.
F15 x86_64 - AMD FX60 - 4GB DDR - 4x 1TB RAID0 - 2x 9800GX2
F15 x86_64 - AMD64 X2 3800+ - 1GB DDR - 2x 750GB - 7800GT
OOKernel OS - AG2 GCU - 32TB ARAM - 1TB PRAM - AG1 TCU
Hi John,
I tried the yum install both with lib/ and /lib/ and got the same result both ways.
I see that yum went looking in a repository called 'ftp://ftp.muug.mb.ca/pub/fedora/linux/updates/18/x86_64/repodata/repomd.xml' Do I need to get it to go to a 32-bit repository?Code:[root@localhost ~]# yum install lib/ld-linux-so.2 Loaded plugins: langpacks, presto, refresh-packagekit fedora/18/x86_64/metalink | 20 kB 00:00 updates/18/x86_64/metalink | 15 kB 00:00 updates | 4.7 kB 00:00 http://www.muug.mb.ca/pub/fedora/linux/updates/18/x86_64/repodata/repomd.xml: [E rrno -1] repomd.xml does not match metalink for updates Trying other mirror. updates | 4.7 kB 00:00 ftp://ftp.muug.mb.ca/pub/fedora/linux/updates/18/x86_64/repodata/repomd.xml: [Er rno -1] repomd.xml does not match metalink for updates Trying other mirror. updates | 4.4 kB 00:00 updates/primary_db | 8.8 MB 00:22 No package lib/ld-linux-so.2 available. Error: Nothing to do [root@localhost ~]# yum install /lib/ld-linux-so.2 Loaded plugins: langpacks, presto, refresh-packagekit updates/filelists_db | 12 MB 00:42 No package /lib/ld-linux-so.2 available. Error: Nothing to do [root@localhost ~]#
Will try your other suggestion ...
glibc.i686:
Code:[root@localhost ~]# yum install glibc.i686 Loaded plugins: langpacks, presto, refresh-packagekit Resolving Dependencies --> Running transaction check ---> Package glibc.i686 0:2.16-30.fc18 will be installed --> Processing Dependency: glibc-common = 2.16-30.fc18 for package: glibc-2.16-3 0.fc18.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2 .16-30.fc18.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.16-30.fc18.i686 --> Running transaction check ---> Package glibc-common.x86_64 0:2.16-24.fc18 will be updated --> Processing Dependency: glibc-common = 2.16-24.fc18 for package: glibc-2.16-2 4.fc18.x86_64 ---> Package glibc-common.x86_64 0:2.16-30.fc18 will be an update ---> Package nss-softokn-freebl.x86_64 0:3.14-5.fc18 will be updated ---> Package nss-softokn-freebl.i686 0:3.14.3-1.fc18 will be installed ---> Package nss-softokn-freebl.x86_64 0:3.14.3-1.fc18 will be an update --> Running transaction check ---> Package glibc.x86_64 0:2.16-24.fc18 will be updated ---> Package glibc.x86_64 0:2.16-30.fc18 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: glibc i686 2.16-30.fc18 updates 4.2 M Installing for dependencies: nss-softokn-freebl i686 3.14.3-1.fc18 updates 146 k Updating for dependencies: glibc x86_64 2.16-30.fc18 updates 3.5 M glibc-common x86_64 2.16-30.fc18 updates 11 M nss-softokn-freebl x86_64 3.14.3-1.fc18 updates 158 k Transaction Summary ================================================================================ Install 1 Package (+1 Dependent package) Upgrade ( 3 Dependent packages) Total size: 19 M Is this ok [y/N]: y Downloading Packages: Running Transaction Check Running Transaction Test Transaction Check Error: file /usr/lib64/audit from install of glibc-2.16-30.fc18.x86_64 conflicts with file from package audit-2.2.1-2.fc18.x86_64 Error Summary ------------- [root@localhost ~]#
Thanks,
Chris
---------- Post added at 08:04 AM ---------- Previous post was at 07:46 AM ----------
yum install redhat-lsb.i686 completed successfully. Now I'll try the original package installation again.
Thanks,
Chris
Last edited by Railfan87; 30th April 2013 at 01:02 PM. Reason: Added glib.686 attempt
On Fedora Core 19, use
yum install libstdc++.i686