Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-10-2012, 07:58 PM
|
#1
|
Member
Registered: Oct 2003
Location: Canada
Posts: 924
Rep:
|
.bin file install failed on Ubuntu 10.04LTS but worked on Ubuntu 11.10
Ok so this worked on Ubuntu 11.10, but now that I've downgraded to 10.04LTS I can't seem to get it to work. I also thought perhaps I was missing Java but I used the Software center to install it and I still get same error.
Please advise
Code:
wh33t@wh33tbox:~$ sudo chmod ugo+x ZendStudio-5_2_0.bin
wh33t@wh33tbox:~$ ./ZendStudio-5_2_0.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...
nawk: 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
hostname: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
Launching installer...
grep: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/tmp/install.dir.5866/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
|
|
|
01-11-2012, 01:00 PM
|
#2
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
This happens sometimes, it just means that some libraries are not where the installer is looking for them or are not there at all. That's why is important to read the README file and/or CONFIG or INSTALL file, to see what are the dependencies and alike.
Good read is here; http://tldp.org/HOWTO/Program-Librar...libraries.html
|
|
|
01-11-2012, 05:54 PM
|
#3
|
Member
Registered: Oct 2003
Location: Canada
Posts: 924
Original Poster
Rep:
|
Quote:
Originally Posted by alan_ri
This happens sometimes, it just means that some libraries are not where the installer is looking for them or are not there at all. That's why is important to read the README file and/or CONFIG or INSTALL file, to see what are the dependencies and alike.
Good read is here; http://tldp.org/HOWTO/Program-Librar...libraries.html
|
Thanks man. I'll check it out.
|
|
|
01-13-2012, 06:57 PM
|
#4
|
Member
Registered: Oct 2003
Location: Canada
Posts: 924
Original Poster
Rep:
|
Quote:
Originally Posted by wh33t
Thanks man. I'll check it out.
|
Unfortunately that stuff is well beyond my knowledge. I get that the program is trying to find some libraries and it's unable to do so. So how can I check and see if I have those Libraries? if i don't have them, where can I get them.
If I have them, how can I tell the program to look in the right place?
|
|
|
01-14-2012, 09:56 AM
|
#5
|
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Rep:
|
Well to find where is certain library you can use whereis command;
Code:
[alan@ORION ~]$ whereis libdl.so.2
libdl.so: /lib64/libdl.so.2
So I have libdl.so.2 library in my /lib64/ directory (I'm on 64 bit system). You can use that command to find where are all the libraries you need or if they are.
About that program you want to use, as I said, you need to read whats in the README file or whatever file there is in that package or wherever which can tell you more about how to install it. If you can provide something about the installation of that program here (I mean official documentation), I believe we can work something out.
OK, I did quick Google search and I found this; http://www.poppa.se/blog/howto-install-zend-studio/
See if it helps and as I thought it might have something to do with the kernel and architecture. Post the output of;
Last edited by alan_ri; 01-14-2012 at 10:00 AM.
|
|
|
01-18-2012, 12:47 PM
|
#6
|
Member
Registered: Oct 2003
Location: Canada
Posts: 924
Original Poster
Rep:
|
Quote:
Originally Posted by alan_ri
Well to find where is certain library you can use whereis command;
Code:
[alan@ORION ~]$ whereis libdl.so.2
libdl.so: /lib64/libdl.so.2
So I have libdl.so.2 library in my /lib64/ directory (I'm on 64 bit system). You can use that command to find where are all the libraries you need or if they are.
About that program you want to use, as I said, you need to read whats in the README file or whatever file there is in that package or wherever which can tell you more about how to install it. If you can provide something about the installation of that program here (I mean official documentation), I believe we can work something out.
OK, I did quick Google search and I found this; http://www.poppa.se/blog/howto-install-zend-studio/
See if it helps and as I thought it might have something to do with the kernel and architecture. Post the output of;
|
Wow man. What an incredible post. As much as I'd like to just go in there and start copying and pasting things I'd actually like to know what is going as well. Do you happen to know what this is doing?
Code:
cat ZendStudio-5_2_0.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ZendStudio-5_2_0.bin
uname -a
Quote:
Linux wh33tbox 2.6.32-37-generic-pae #81-Ubuntu SMP Fri Dec 2 22:24:22 UTC 2011 i686 GNU/Linux
|
Last edited by wh33t; 01-18-2012 at 12:57 PM.
|
|
|
01-18-2012, 01:00 PM
|
#7
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by wh33t
Wow man. What an incredible post. As much as I'd like to just go in there and start copying and pasting things I'd actually like to know what is going as well. Do you happen to know what this is doing?
Code:
cat ZendStudio-5_2_0.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > ZendStudio-5_2_0.bin
|
This is sending the contents of a file named ZendStudio-5_2_0.bak through a pipe, where sed is receiving it, searching for the words export LD_ASSUME_KERNEL and replacing them with #xport LD_ASSUME_KERNEL (which is actually simply commenting it out) and then directing the data to a new (or already existing) file named ZendStudio-5_2_0.bin.
So in simple words: It searches for the mentioned line and comments it out.
|
|
|
01-18-2012, 01:11 PM
|
#8
|
Member
Registered: Oct 2003
Location: Canada
Posts: 924
Original Poster
Rep:
|
Quote:
Originally Posted by TobiSGD
This is sending the contents of a file named ZendStudio-5_2_0.bak through a pipe, where sed is receiving it, searching for the words export LD_ASSUME_KERNEL and replacing them with #xport LD_ASSUME_KERNEL (which is actually simply commenting it out) and then directing the data to a new (or already existing) file named ZendStudio-5_2_0.bin.
So in simple words: It searches for the mentioned line and comments it out.
|
Linux is amazing.
So should I run that command from a Bash script? Or can I just copy the commands one by one. I did try it doing the copy and paste thing, one by one but the Zend Installer said something about it not being the original file I downloaded and that I shouldn't install from that file. I can re-do it all and give you the actual error messages but I figured maybe I should run it from a Bash Script first?
|
|
|
01-18-2012, 02:51 PM
|
#9
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
There is no difference if you do it from a script or the command-line. There seems to be a check in the installer against modifying it. May be there is an option to disable that check. Try to run the installer with the --help option and see if it outputs a help display for options.
|
|
|
All times are GMT -5. The time now is 04:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|