Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 am receiving the following error attempting to run a shell script on (an InstallAnywhere launcher to be precise) that seems to lead me to believe that I am missing some installed resource on my FC4 x86_64 installation or have something set up improperly (the following is identical to that which occurs on another FC4 x86_64 machine):
Code:
[root@mace PROJECT_main_2005-10-04]# ./PROJECT
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jdks/64/jdk1.5.0_05/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
I have run a check to see where things are, and it all seems to be in place... I even ran an ldconfig to be sure that my /etc/ld.so.conf was populated. The following output illustrates the output of this data:
An additional piece of information is that when running on an FC4 x86 (non-64) install, everything seems to be working just fine. Could it be the JVM (Sun Java 1.5.0_05)? The problem with that is everything else I run using command-line (non-InstallAnywhere scripted) Java commands, things seem to work fine
Does anyone have any ideas of what I need to do in order to get this working?
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
I've been bumping into the exact same problem for a couple months... I get the same errors with other installAnywhere scripts (ZendStudio installer, Gallery2 remote....).
I did not have time to investigate the problem deeper but it looks to me as if the install anywhere script is looking for 32bit versions of library... in the 64bit path.
More on this later if I make any findings... and any suggestion/comment/solution appreciated
Last edited by zeitounator; 10-27-2005 at 10:43 AM.
Having had similar difficulties loading an application on x86_64, I followed your advice and succeeded having changed the "export LD_ASSUME_KERNEL=2.2.5" line. However you mention that I also need to apply the same hack to the resulting LaunchAnywhere script, but I am unable to find a similar line in any .lax file. Please could you point me in the right direction to find the right script and what needs changing in it.
When I install sys prompted same to you, in accordance with the method you have done after the operation, found that there is an error
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/usr/alienbrain/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
when I
cp Install.bin Install.bak
cat Install.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > Install.bin
rm Install.bak
the prompted ware same.
now what can i do? who can help me~
Installing some legacy software today on CentOS 7, and feel lucky to have stumbled across this solution. Worked like a charm. The Zend KB article is 404'ed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.