LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 01-10-2012, 07:58 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 802

Rep: Reputation: 58
.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
 
Old 01-11-2012, 01:00 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
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
 
Old 01-11-2012, 05:54 PM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 802

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by alan_ri View Post
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.
 
Old 01-13-2012, 06:57 PM   #4
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 802

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by wh33t View Post
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?
 
Old 01-14-2012, 09:56 AM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
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;
Code:
uname -a

Last edited by alan_ri; 01-14-2012 at 10:00 AM.
 
Old 01-18-2012, 12:47 PM   #6
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 802

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by alan_ri View Post
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;
Code:
uname -a
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.
 
Old 01-18-2012, 01:00 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870
Quote:
Originally Posted by wh33t View Post
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.
 
Old 01-18-2012, 01:11 PM   #8
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 802

Original Poster
Rep: Reputation: 58
Quote:
Originally Posted by TobiSGD View Post
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?
 
Old 01-18-2012, 02:51 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870Reputation: 4870
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/bin/pecl install fileinfo... Failed for horde webmail on Ubuntu 11.04 nqk28703 Linux - Software 6 01-23-2012 02:18 PM
Install from a .bin file in Ubuntu 11.10? wh33t Linux - Software 2 01-09-2012 11:14 PM
File Sharing between Window 7 Starter and Ubuntu system running 10.04LTS and 11.04 GJQ Linux - Newbie 4 06-08-2011 11:23 AM
Cant install ubuntu 8.04LTS on my server. forcevision Linux - Server 6 05-26-2009 04:33 PM
update install applics on Ubuntu 8.04LTS without Internet conn. Ye Myint Linux - Newbie 4 10-29-2008 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration