Find the answer to your question
When I ran ./JavaSDKv485Full.bin in my Linux box, the program returns cannot open shared object file error as below:
error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
What is happening and how to fix the error?
There is a known InstallAnywhere issue as logged in http://en.opensuse.org/SDB that Installation Programs using Install Anywhere fail with error messages 'error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory .
The cause of the issue is, as documented by openSUSE, "Older Java versions have problems with the so called 'floating stack' of glibc's which have been optimized for i686". openSUSE has provided workaround here .
When you running into the issue while install eBay JAVA SDK in Linux, the resolution is to use the following workaround steps provided by our eBay Third Party developer whose developerID is dakasta.
1. Copy the eBay Java SDK Linux installing script to a non-executable file named install.bak
% cp JavaSDKv485Full.bin install.bak
2. A) execute the sed program to the install.bak file to comment out the line 'export LD_ASSUME_KERNEL'
B) save the stdout of sed command to the original eBay Java SDK Linux installing script JavaSDKv485Full.bin
% cat install.bak | sed “s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/” > JavaSDKv485Full.bin
3. execute the modified the eBay Java SDK Linux installing script
The eBay Java SDK Linux installing scirpt mentioned above was based on the version specified below:
|API Schema Version||485|
|Java SDK Version||javasdk v485.0 Full release|