Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found: (10 Items)
   
6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
I am installing 6.6 on Ubuntu 16.04 in a Virtual Box.
antat@ubuntu:~/Documents$ sudo chmod a+x  qnx-sdp-6.6-201402230339.bin
[sudo] password for antat: 
antat@ubuntu:~/Documents$ sudo PS1='$' ./qnx-sdp-6.6-201402230339.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...

Launching installer...

./qnx-sdp-6.6-201402230339.bin: 3320: exec: /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found

BUT  /tmp/install.dir.6724/Linux/resource/jre/bin/java EXISTS.

What is the workaround?
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
On Wed, 2017-09-20 at 14:22 -0400, David Lypka wrote:

I am installing 6.6 on Ubuntu 16.04 in a Virtual Box.
antat@ubuntu<mailto:antat@ubuntu>:~/Documents$ sudo chmod a+x  qnx-sdp-6.6-201402230339.bin
[sudo] password for antat:
antat@ubuntu:~/Documents$ sudo PS1='$' ./qnx-sdp-6.6-201402230339.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...

Launching installer...

./qnx-sdp-6.6-201402230339.bin: 3320: exec: /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found

BUT  /tmp/install.dir.6724/Linux/resource/jre/bin/java EXISTS.


One thing that comes to mind: check the permissions of all intermediate directories.

HTH
Michael
Attachment: HTML sf-attachment-mime35442 1.17 KB
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
Thanks for the suggestion but no luck - all folders in the path are r-x for everyone else.

I also tried it on and old ubuntu 12.04  in Virtual Box and still got the same error.
So both 16.04 and 12.04 have the problem accessing java.

So perhaps the error message is just an unwanted side effect of the actual cause.
I searched for all .log files and looked at a few but did not find anything related to the is QNX install.

Do you have any other suggestions?
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
I installed SDP 6.6 under Ubuntu 14.04 LTS without trouble. It doesn't install itself into the "system" or anything, I 
just created a normal user "qnx", who is not even a sudoer, and launched the installer in its home directory. It created
 the folder /home/qnx/qnx660 with everything in it, also the script qnx660-env.sh, which sets the environment:

qnx@QNXSDP-LINUX:~$ . qnx660/qnx660-env.sh 
qnx@QNXSDP-LINUX:~$ qconfig
QNX Installations 

  Installation Name: QNX Software Development Platform 6.6
            Version: 6.6.0
     Base Directory: /home/qnx/qnx660
           QNX_HOST: /home/qnx/qnx660/host/linux/x86
         QNX_TARGET: /home/qnx/qnx660/target/qnx6


The installation ran through fine.

-Albrecht
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
I managed to reproduce this error in a freshly installed Ubuntu 16.04.3 server image in VMWare;
I dug a little further:


$ ./qnx-sdp-6.6-201402230339.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...


Launching installer...


./qnx-sdp-6.6-201402230339.bin: 3320: exec: /tmp/install.dir.3916/Linux/resource/jre/bin/java: not found


(the same happens when I use sudo)


$ file /tmp/install.dir.3916/Linux/resource/jre/bin/java

/tmp/install.dir.3916/Linux/resource/jre/bin/java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically
 linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, not stripped


when we look at 'file' output, we see "interpreter /lib/ld-linux.so.2", but:


$ ll /lib/ld-linux.so.2

ls: cannot access '/lib/ld-linux.so.2': No such file or directory


on my "normal" linux workstation, this looks different:


$ ll /lib/ld-linux.so.*

lrwxrwxrwx 1 root root 25 Jun 16 22:36 /lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.23.so*


I didn't find a trivial way to install this link (nor its target), but this looks like a system setup issue to me.


regards

Michael


On Dunn, 2017-09-21 at 15:56 -0400, David Lypka wrote:

Thanks for the suggestion but no luck - all folders in the path are r-x for everyone else.

I also tried it on and old ubuntu 12.04  in Virtual Box and still got the same error.
So both 16.04 and 12.04 have the problem accessing java.

So perhaps the error message is just an unwanted side effect of the actual cause.
I searched for all .log files and looked at a few but did not find anything related to the is QNX install.

Do you have any other suggestions?



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post118064
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com<mailto:ostech
-core_os-unsubscribe@community.qnx.com>;

Attachment: HTML sf-attachment-mime35464 3.07 KB
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
to reply to myself, this is what I found on askubuntu.com

Once you install the 32-bit dynamic loader /lib/ld-linux.so.2, which is in the libc6:i386 package, you will at least get
 a non-misleading error message telling you of the other missing libraries.

HTH
Michael
On Free, 2017-09-22 at 12:15 +0200, Michael Schuster wrote:
I managed to reproduce this error in a freshly installed Ubuntu 16.04.3 server image in VMWare;
I dug a little further:


$ ./qnx-sdp-6.6-201402230339.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...


Launching installer...


./qnx-sdp-6.6-201402230339.bin: 3320: exec: /tmp/install.dir.3916/Linux/resource/jre/bin/java: not found


(the same happens when I use sudo)


$ file /tmp/install.dir.3916/Linux/resource/jre/bin/java

/tmp/install.dir.3916/Linux/resource/jre/bin/java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically
 linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, not stripped


when we look at 'file' output, we see "interpreter /lib/ld-linux.so.2", but:


$ ll /lib/ld-linux.so.2

ls: cannot access '/lib/ld-linux.so.2': No such file or directory


on my "normal" linux workstation, this looks different:


$ ll /lib/ld-linux.so.*

lrwxrwxrwx 1 root root 25 Jun 16 22:36 /lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.23.so*


I didn't find a trivial way to install this link (nor its target), but this looks like a system setup issue to me.


regards

Michael


On Dunn, 2017-09-21 at 15:56 -0400, David Lypka wrote:

Thanks for the suggestion but no luck - all folders in the path are r-x for everyone else.

I also tried it on and old ubuntu 12.04  in Virtual Box and still got the same error.
So both 16.04 and 12.04 have the problem accessing java.

So perhaps the error message is just an unwanted side effect of the actual cause.
I searched for all .log files and looked at a few but did not find anything related to the is QNX install.

Do you have any other suggestions?



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post118064
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com<mailto:ostech
-core_os-unsubscribe@community.qnx.com>;

Attachment: HTML sf-attachment-mime35468 3.61 KB
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
I checked with my installation. I did an apt-get update to get a list of all packages, and it seems that the 32-bit 
libraries are necessary:

root@QNXSDP-LINUX:~# apt-get update
Ign http://extras.ubuntu.com trusty InRelease
Holen: 1 http://security.ubuntu.com trusty-security InRelease
Holen: 2 http://extras.ubuntu.com trusty Release.gpg                
Ign http://de.archive.ubuntu.com trusty InRelease                              
OK   http://extras.ubuntu.com trusty Release                                   
Holen: 3 http://security.ubuntu.com trusty-security/main Sources               
OK   http://extras.ubuntu.com trusty/main Sources                   
Holen: 4 http://de.archive.ubuntu.com trusty-updates InRelease                 
OK   http://de.archive.ubuntu.com trusty-backports InRelease                   
OK   http://extras.ubuntu.com trusty/main amd64 Packages                       
Holen: 5 http://security.ubuntu.com trusty-security/restricted Sources         
OK   http://extras.ubuntu.com trusty/main i386 Packages                        
Holen: 6 http://security.ubuntu.com trusty-security/universe Sources           
OK   http://de.archive.ubuntu.com trusty Release.gpg                           
Holen: 7 http://security.ubuntu.com trusty-security/multiverse Sources         
OK   http://de.archive.ubuntu.com trusty-updates/main Sources                  
OK   http://de.archive.ubuntu.com trusty-updates/restricted Sources            
Holen: 8 http://de.archive.ubuntu.com trusty-updates/universe Sources          
Holen: 9 http://security.ubuntu.com trusty-security/main amd64 Packages     
OK   http://de.archive.ubuntu.com trusty-updates/multiverse Sources       
Holen: 10 http://security.ubuntu.com trusty-security/restricted amd64 Packages 
Holen: 11 http://de.archive.ubuntu.com trusty-updates/main amd64 Packages      
Holen: 12 http://security.ubuntu.com trusty-security/universe amd64 Packages
Holen: 13 http://de.archive.ubuntu.com trusty-updates/restricted amd64 Packages
OK   http://de.archive.ubuntu.com trusty-updates/universe amd64 Packages       
OK   http://de.archive.ubuntu.com trusty-updates/multiverse amd64 Packages     
OK   http://de.archive.ubuntu.com trusty-updates/main i386 Packages            
Holen: 14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages 
OK   http://de.archive.ubuntu.com trusty-updates/restricted i386 Packages      
Ign http://extras.ubuntu.com trusty/main Translation-de_DE                     
Holen: 15 http://security.ubuntu.com trusty-security/main i386 Packages        
Ign http://extras.ubuntu.com trusty/main Translation-de                        
Holen: 16 http://de.archive.ubuntu.com trusty-updates/universe i386 Packages   
Ign http://extras.ubuntu.com trusty/main Translation-en                        
OK   http://de.archive.ubuntu.com trusty-updates/multiverse i386 Packages      
Holen: 17 http://security.ubuntu.com trusty-security/restricted i386 Packages
OK   http://de.archive.ubuntu.com trusty-updates/main Translation-en        
OK   http://de.archive.ubuntu.com trusty-updates/multiverse Translation-en     
OK   http://de.archive.ubuntu.com trusty-updates/restricted Translation-en     
Holen: 18 http://security.ubuntu.com trusty-security/universe i386 Packages    
OK   http://de.archive.ubuntu.com trusty-updates/universe Translation-en       
OK   http://de.archive.ubuntu.com trusty-backports/main Sources               
Holen: 19 http://security.ubuntu.com trusty-security/multiverse i386 Packages 
OK   http://de.archive.ubuntu.com trusty-backports/restricted Sources          
OK   http://security.ubuntu.com trusty-security/main Translation-en            
OK   http://de.archive.ubuntu.com trusty-backports/universe Sources           
OK   http://security.ubuntu.com trusty-security/multiverse Translation-en     
OK   http://de.archive.ubuntu.com trusty-backports/multiverse Sources          
OK  ...
View Full Message
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
Thank you for all that investigation work.

I will try those suggestions and will report back.
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  
I succeeded to get QNX 6.6.0 30 day trial up and running.
There were 2 major issues 
1. I had missed the install step in
Before you start
Before you install this software, please note the following:
In order to run the installer and the IDE on Ubuntu 64-bit, you need to install the 32-bit libraries:
sudo apt-get install libgtk2.0-0:i386 libXtst6:i386 libcanberra-gtk-module:i386 \ 
gtk2-engines-murrine:i386 libdbus-glib-1-2:i386
In order to run the IDE on Ubuntu 14.04 64-bit, you need to install some Java libraries:
sudo apt-get install libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 
libxtst6:i386
NOTE: I used the 14.04 instructions for my 16.04 Ubuntu and they worked OK.
2. The instructions did not mention that you have to install Eclipse.
I had not done that.
So I installed Synaptic Package Installer and then selected eclipse (the root eclipse package) all eclipse C++ packages.

I believe using synaptic to install Eclipse is much faster than following the download process from the eclipse website.
Re: 6.6 Installer error /tmp/install.dir.6724/Linux/resource/jre/bin/java: not found  

On Fr, 2017-09-29 at 11:36 -0400, David Lypka wrote:

I succeeded to get QNX 6.6.0 30 day trial up and running.
There were 2 major issues
1. I had missed the install step in
Before you start
Before you install this software, please note the following:
In order to run the installer and the IDE on Ubuntu 64-bit, you need to install the 32-bit libraries:
sudo apt-get install libgtk2.0-0:i386 libXtst6:i386 libcanberra-gtk-module:i386 \
gtk2-engines-murrine:i386 libdbus-glib-1-2:i386
In order to run the IDE on Ubuntu 14.04 64-bit, you need to install some Java libraries:
sudo apt-get install libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 
libxtst6:i386
NOTE: I used the 14.04 instructions for my 16.04 Ubuntu and they worked OK.


This (obviously ;-)) depends on your system setup before  you start the installation and on the environment you "live" 
in  - in my case, the installation was failing due to a 32bit vs 64bit mismatch in the name resolution library, so all I
 had to do was "set LD_LIBRARY_PATH=/lib32" to get the proper .so loaded.

regards
Michael
Attachment: HTML sf-attachment-mime35498 1.59 KB