Re: [SLE] libc.so.6 errors on Zend IDE Installaion, SuSE 8.1
Just for reference sake, I found the problem. The solution can be found here: http://www.zend.com/phorum/read.php?num=4&id=924&thread=899 The solution is: You should use the suse/i586/glibc-2.2.5-151.i586.rpm from your 8.1 instead of suse/i686/glibc-2.2.5-152.i686.rpm. You can find the i586 version of glibc on your SuSE CD's, CD number 1. You have to first uninstall your i686 version of glibc, and simply install this version then, and it will work like a charm. Jason
Jason Lotito wrote:
Hello,
I am trying to install the Zend IDE on my SuSE 8.1 machine, and I keep running into an error: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory, any clues?
ls /lib/ shows libc.so.6 is present, and I really have no clue as to where to go.
Here is the complete error message and output from the installation:
bambam:/home/jason/Documents/ZendStudio-2_5_0c # ./ZendStudio-2_5_0c.bin Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... 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 hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Launching installer...
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Thank you
-- "DRM... Digitally Retarded Media - content that cannot reach its full potential because of artificial restraints."
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Jason Lotito PHP Developer's Network Founder www.devnetwork.net
On Sunday 15 December 2002 16.00, Jason Lotito wrote:
Just for reference sake, I found the problem.
The solution can be found here: http://www.zend.com/phorum/read.php?num=4&id=924&thread=899
The solution is:
You should use the suse/i586/glibc-2.2.5-151.i586.rpm from your 8.1 instead of suse/i686/glibc-2.2.5-152.i686.rpm. You can find the i586 version of glibc on your SuSE CD's, CD number 1.
This is not the solution. You should do cat ZendStudio-2_5_0c.bin|sed -e 's/LD_ASSUME_KERNEL=2.2.5/#LD_ASSUME_KERNEL=2.2./' > ZendStudio-2_5_0c2.bin (the above is word wrapped. It should be all on one line when run, naturally). Then chmod u+x ZendStudio-2_5_0c2.bin and run ZendStudio-2_5_0c2.bin to install. I just tried it, works like a charm. There's absolutely no need to mess with the glibc installation.
You have to first uninstall your i686 version of glibc, and simply install this version then, and it will work like a charm.
If you do uninstall glibc, be sure to not close down your programs before installing the other version, because without a glibc, absolutely *nothing* will run.
* Anders Johansson (andjoh@rydsbo.net) [20021215 16:38]:
This is not the solution. You should do
cat ZendStudio-2_5_0c.bin|sed -e 's/LD_ASSUME_KERNEL=2.2.5/#LD_ASSUME_KERNEL=2.2./' > ZendStudio-2_5_0c2.bin
(the above is word wrapped. It should be all on one line when run, naturally).
Be careful with that solution as it won't work with all install packages produced by Install Anywhere because the byte count of the package changes. The universally working solution is to *replace* the first character with a hash sign: sed -e 's/LD_ASSUME_KERNEL=2.2.5/#D_ASSUME_KERNEL=2.2./' ZendStudio-2_5_0c.bin > ZendStudio-2_5_0c2.bin BTW, note the lack of cat as it's not needed because sed can read files on its own :) Philipp -- Philipp Thomas <pthomas@suse.de> SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nuremberg, Germany
On Tuesday 17 December 2002 10.14, Philipp Thomas wrote:
* Anders Johansson (andjoh@rydsbo.net) [20021215 16:38]:
This is not the solution. You should do
cat ZendStudio-2_5_0c.bin|sed -e 's/LD_ASSUME_KERNEL=2.2.5/#LD_ASSUME_KERNEL=2.2./' > ZendStudio-2_5_0c2.bin
(the above is word wrapped. It should be all on one line when run, naturally).
Be careful with that solution as it won't work with all install packages produced by Install Anywhere because the byte count of the package changes. The universally working solution is to *replace* the first character with a hash sign:
sed -e 's/LD_ASSUME_KERNEL=2.2.5/#D_ASSUME_KERNEL=2.2./' ZendStudio-2_5_0c.bin > ZendStudio-2_5_0c2.bin
Excuse me, but my solution above doesn't change the byte count, if you look at it. Your solution does, as you forgot the final 5 in the substitute string :)
BTW, note the lack of cat as it's not needed because sed can read files on its own :)
True. I was going for the award :) Anders
participants (3)
-
Anders Johansson
-
Jason Lotito
-
Philipp Thomas