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.
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
Thanked: 0
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 11: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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.