# PowerVR SDK Linux installation fails

**URL:** <https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544>\
**Category:** PowerVR Insider\
**Created:** [October 24, 2012, 9:05am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544 "2012-10-24T09:05:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![rasko121](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@rasko121](https://forums.imgtec.com/u/rasko121)\
**Post date:** [October 24, 2012, 9:05am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/1 "2012-10-24T09:05:03Z")

</div>

Hi,&nbsp;

I fail to install PowerVR SDK (Linux) on PandaBoard (OMAP 4430) running Ubuntu 12.04.&nbsp;

  

hjkl@hjkl-dt-panda:~/PowerVR\_SDK$ ls

PowerVRSDKSetup-3.0.run

  

hjkl@hjkl-dt-panda:~/PowerVR\_SDK$ ./PowerVRSDKSetup-3.0.run&nbsp;

-bash: ./PowerVRSDKSetup-3.0.run: cannot execute binary file

  

hjkl@hjkl-dt-panda:~/PowerVR\_SDK$ file PowerVRSDKSetup-3.0.run&nbsp;

PowerVRSDKSetup-3.0.run: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), st

atically linked, stripped

  

hjkl@hjkl-dt-panda:~/PowerVR\_SDK$ ldd PowerVRSDKSetup-3.0.run&nbsp;

&nbsp; &nbsp; &nbsp; &nbsp; not a dynamic executable

hjkl@hjkl-dt-panda:~/PowerVR\_SDK$&nbsp;

  

Can someone advise?

Thanks.

---

<div class="post-metadata">

**Author:** ![rasko121](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@rasko121](https://forums.imgtec.com/u/rasko121)\
**Post date:** [October 24, 2012, 9:45am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/2 "2012-10-24T09:45:11Z")

</div>

Ok, I have changed the permissions and ran as super user, still on PandaBoard (ARMv7) - it fails with the following error:

  

jjhjh@jjhjh-dt-panda:~/PowerVR\_SDK$ sudo ./PowerVRSDKSetup-3.0.run&nbsp;

[sudo] password for jjhjh:&nbsp;

./PowerVRSDKSetup-3.0.run: 1: ./PowerVRSDKSetup-3.0.run: Syntax error: “(” unexpected

jjhjh@jjhjh-dt-panda:~/PowerVR\_SDK$

---

<div class="post-metadata">

**Author:** ![bobgardner](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bobgardner](https://forums.imgtec.com/u/bobgardner)\
**Post date:** [October 24, 2012, 9:47am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/3 "2012-10-24T09:47:32Z")

</div>

Hi Rasko,

  

The SDK installer is a graphical utility designed to install the SDK on a desktop class linux distribution like Ubuntu, or Arch etc. &nbsp;Specifically, it is designed to be ran on x86 desktop systems, and not embedded systems. &nbsp;One the SDK is installed on the desktop system it can then be used to target an embedded system (such as the Pandaboard).

  

Regards,

Bob

---

<div class="post-metadata">

**Author:** ![rasko121](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@rasko121](https://forums.imgtec.com/u/rasko121)\
**Post date:** [October 24, 2012, 11:15am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/4 "2012-10-24T11:15:27Z")

</div>

Bob,

thank you for the quick reply.

  

My Pandaboard runs Ubuntu 12.04 image [[http://cdimage.ubuntu.com/releases/12.04/release/](http://cdimage.ubuntu.com/releases/12.04/release/)], in which I have installed OMAP4 Graphical Addons &nbsp;- OpenGLES 1.x & 2.x Graphics Driver Binaries and mesa-utils.&nbsp;

I thought I need the PowerVR SDK to have all the&nbsp;run time&nbsp;libraries for running OpenGL demo’s, as I currently fail to run/build the binaries on PandaBoard.

  

Can you please specify (or forward me) what are the SW&nbsp;requirements (libraries)&nbsp;for building&running OpenGL demo’s/applications on PandaBoard?

  

Thank you for your help,

Rasko.

---

<div class="post-metadata">

**Author:** ![shaderx-2](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@shaderx-2](https://forums.imgtec.com/u/shaderx-2)\
**Post date:** [October 29, 2012, 7:41am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/5 "2012-10-29T07:41:39Z")

</div>

Hi Bob,  
  
I encountered installation failure of the PowerVRSDKSetup-3.0.run on my Mint-Linux 64bit too, I ran the following command to install the package:  
  
$ sh ./PowerVRSDKSetup-3.0.run  
  
and got following issue:  
  
PowerVRSDKSetup-3.0.run: 1: PowerVRSDKSetup-3.0.run: Syntax error: “(” unexpected  
  
could you help tell me how to run this package, it looks it is a executable file, but I cannot execute it via console and GUI.  
  
Thanks!  
ShaderX

---

<div class="post-metadata">

**Author:** ![bobgardner](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bobgardner](https://forums.imgtec.com/u/bobgardner)\
**Post date:** [October 29, 2012, 7:49am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/6 "2012-10-29T07:49:54Z")

</div>

There is a known issue with a variety of 64bit Linux distributions where they don’t correctly run 32bit binaries (the installer is a 32bit binary). &nbsp;During testing it appeared that most distributions come with a lot of the 32bit libraries pre-installed, several don’t however. &nbsp;We will be putting a page with instructions on our site soon, but in the meantime, try running:

  

sudo apt-get install ia32-libs

  

you might, depending on your distro, also have to run:

  

sudo apt-get install ia32-libs-multiarch

  

Hope that helps.

---

<div class="post-metadata">

**Author:** ![shaderx-2](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@shaderx-2](https://forums.imgtec.com/u/shaderx-2)\
**Post date:** [October 29, 2012, 8:54am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/7 "2012-10-29T08:54:00Z")

</div>

Hi Bob,  
  
Thanks a lot for your response!  
  
I have installed ia32-libs in my system, but when I ran “sh ././PowerVRSDKSetup-3.0.run” I still got the same issue, could you help give more comments about it? Whether can the package only be installed on 32bit Linux?  
  
Thanks!  
ShaderX

---

<div class="post-metadata">

**Author:** ![bobgardner](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bobgardner](https://forums.imgtec.com/u/bobgardner)\
**Post date:** [October 29, 2012, 9:04am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/8 "2012-10-29T09:04:29Z")

</div>

Try running the installer as the Superuser?

  

Bob

---

<div class="post-metadata">

**Author:** ![shaderx-2](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@shaderx-2](https://forums.imgtec.com/u/shaderx-2)\
**Post date:** [October 30, 2012, 12:59am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/9 "2012-10-30T00:59:03Z")

</div>

Hi Bob,  
  
New update, I redownloaded the package and changed its mode to executable, then ran it under Superuser mode, it could launch successfully!  
  
Thank you, so much for your great and nice help! ![Smile]( "Smile")  
  
Thanks!  
ShaderX  
  
  
  
  
  
  
  
shaderx2012-10-30 03:29:08

---

<div class="post-metadata">

**Author:** ![bobgardner](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bobgardner](https://forums.imgtec.com/u/bobgardner)\
**Post date:** [October 30, 2012, 7:32am UTC](https://forums.imgtec.com/t/powervr-sdk-linux-installation-fails/1544/10 "2012-10-30T07:32:48Z")

</div>

I didn’t think about setting the executable bit. &nbsp;Apologies. &nbsp;Glad its working.
