Forum Stats

  • 3,734,708 Users
  • 2,247,029 Discussions
  • 7,857,460 Comments

Discussions

analyzer can't run in Ubuntu12.04

The os version

   uname  -a

    Linux fuchong-ThinkPad-X230 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

the SolarisStudio version:

SolarisStudio12.3-linux-x86-bin.bz2

tar xvf SolarisStudio12.3-linux-x86-bin.bz2 in work directory.

the experiment file is test.er

when i run ~/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/bin$ ./analyzer

WARNING: Linux-64-bit, 4 CPUs, Ubuntu_14.04 system "fuchong-ThinkPad-X230" is not supported by the Performance tools.

analyzer: java.io.IOException: Cannot run program "/home/fuchong/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/lib/analyzer/lib/../../../bin/er_print": error=2, 没有那个文件或目录

cant file file /home/fuchong/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/lib/analyzer/lib/../../../bin/er_print

but the file is exists :

[email protected]:~/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/bin$ ls -al /home/fuchong/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/lib/analyzer/lib/../../../bin/er_print

-rwxr-xr-x 1 fuchong fuchong 163566 Nov 16  2011 /home/fuchong/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/lib/analyzer/lib/../../../bin/er_print

how to to resolve it ?thanks!

Tagged:

Answers

  • fuyou написал(а):
    
    when i run ~/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/bin$ ./analyzer
    WARNING: Linux-64-bit, 4 CPUs, Ubuntu_14.04 system "fuchong-ThinkPad-X230" is not supported by the Performance tools.
    analyzer: java.io.IOException: Cannot run program "/home/fuchong/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/lib/analyzer/lib/../../../bin/er_print": error=2, 没有那个文件或目录
    
    cant file file /home/fuchong/studio/SolarisStudio12.3-linux-x86-bin/solarisstudio12.3/lib/analyzer/lib/../../../bin/er_print
    
    but the file is exists :
    
    

    "Cannot find file" and "Cannot run program" are absolutely different errors. By default 64-bit Ubuntu 12.04 cannot launch 32-bit executable files. In your case a special package should be installed:

    apt-get install ia32-libs

This discussion has been closed.