Problem
Received the following exceptions (seperately) when attempting to run a java program on Fedora 15 amd64.
and so on.
Solution
Obviously a couple of dependencies were missing. To find out which package/s you need to install to fix a missing dependency, use "yum provides <missing_file>".
e.g.
Then install the packages...
e.g.
Repeat for all missing files.
Received the following exceptions (seperately) when attempting to run a java program on Fedora 15 amd64.
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
...
libstdc++.so.5: cannot open shared object file: No such file or directory
...
Exception in thread "main" java.lang.UnsatisfiedLinkError: /some/directory/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
...
libfontconfig.so.1: cannot open shared object file: No such file or directoryand so on.
Solution
Obviously a couple of dependencies were missing. To find out which package/s you need to install to fix a missing dependency, use "yum provides <missing_file>".
e.g.
# yum provides libfontconfig.so.1fedora/metalink | 21 kB 00:00jenkins | 951 B 00:00updates/metalink | 12 kB 00:00fontconfig-2.8.0-3.fc15.i686 : Font configuration and customization libraryRepo : fedoraMatched from:Other : libfontconfig.so.1
Then install the packages...
e.g.
# yum install fontconfigRepeat for all missing files.
Thaks Friend!!! Your Post help me a lot.
ReplyDeleteGreetings and blessings.