# PowerVR SDK 3.0 - PC Emulation Linux - SDK binaries execution error

**URL:** <https://forums.imgtec.com/t/powervr-sdk-3-0-pc-emulation-linux-sdk-binaries-execution-error/1683>\
**Category:** PowerVR Insider\
**Created:** [February 25, 2013, 2:15pm UTC](https://forums.imgtec.com/t/powervr-sdk-3-0-pc-emulation-linux-sdk-binaries-execution-error/1683 "2013-02-25T14:15:18Z")\
**Posts on this page:** 4\
**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:** [February 25, 2013, 2:15pm UTC](https://forums.imgtec.com/t/powervr-sdk-3-0-pc-emulation-linux-sdk-binaries-execution-error/1683/1 "2013-02-25T14:15:18Z")

</div>

Hi,  
  
  
  
I am getting the following error when trying to run SDK 3.0 R2 (for Linux) binaries on my Intel machine running Ubuntu 12.04 and has Nvidia video card.  
  
  
  
/opt/Imagination/PowerVR/GraphicsSDK/SDK\_3.0/Binaries/Linux\_x86\_32/X11/Examples/Beginner/01\_HelloAPI/OGLES2HelloAPI  
  
eglBindAPI failed (-1076696740).  
  
  
  
glxinfo |grep render  
  
direct rendering: Yes  
  
OpenGL renderer string: Quadro 600/PCIe/SSE2  
  
GL\_NV\_conditional\_render, GL\_NV\_copy\_depth\_to\_color, GL\_NV\_copy\_image,  
  
GL\_NV\_parameter\_buffer\_object2, GL\_NV\_path\_rendering,  
  
GL\_NVX\_conditional\_render, GL\_NVX\_gpu\_memory\_info, GL\_OES\_depth24,  
  
GL\_OES\_fbo\_render\_mipmap, GL\_OES\_get\_program\_binary, GL\_OES\_mapbuffer,  
  
  
  
This is after I have set:  
  
setenv LD\_LIBRARY\_PATH /opt/Imagination/PowerVR/GraphicsSDK/SDK\_3.0/Builds/OGLES2/Linux\_x86\_32/Lib/  
  
ls $LD\_LIBRARY\_PATH  
  
libEGL.so libGLESv2.so  
  
  
  
Can you please recommend what can I do (besides building them) in order to run them?  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![ChrisPenrose](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@ChrisPenrose](https://forums.imgtec.com/u/ChrisPenrose)\
**Post date:** [February 25, 2013, 3:23pm UTC](https://forums.imgtec.com/t/powervr-sdk-3-0-pc-emulation-linux-sdk-binaries-execution-error/1683/2 "2013-02-25T15:23:02Z")

</div>

Hi Rasko  
  
  
  
The libraries in the /Builds/ directory are stub libraries for used for linking. The actual libraries you should be pointing towards are located in /GraphicsSDK/PVRVFrame/EmulationLibs/, so you need to set LD\_LIBRARY\_PATH to something like /opt/Imagination/PowerVR/GraphicsSDK/PVRVFrame/EmulationLibs/Linux\_x86\_32

---

<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:** [February 26, 2013, 8:07am UTC](https://forums.imgtec.com/t/powervr-sdk-3-0-pc-emulation-linux-sdk-binaries-execution-error/1683/3 "2013-02-26T08:07:02Z")

</div>

Thank you, Chris for the quick response.  
  
  
  
ls /opt/Imagination/PowerVR/GraphicsSDK/PVRVFrame/EmulationLibs/Linux\_x86\_32/  
  
libEGL.so libGLES\_CM.so libGLESv2.so  
  
  
  
Is there any additional installation user guide for this?  
  
I haven’t managed to find it in the user guide:  
  
ls /opt/Imagination/PowerVR/GraphicsSDK/SDK\_3.0/Documentation/SDKUserGuideContent/  
  
SDKUserGuideOGLES2LinuxARMv7 SDKUserGuideOGLESLinuxARMv7  
  
SDKUserGuideOGLES2LinuxX86PCEmulation SDKUserGuideOGLESLinuxX86PCEmulation  
  
  
  
Any way, all demos are working now. Thank you!

---

<div class="post-metadata">

**Author:** ![ChrisPenrose](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@ChrisPenrose](https://forums.imgtec.com/u/ChrisPenrose)\
**Post date:** [February 26, 2013, 9:25am UTC](https://forums.imgtec.com/t/powervr-sdk-3-0-pc-emulation-linux-sdk-binaries-execution-error/1683/4 "2013-02-26T09:25:59Z")

</div>

There is a short installation guide for the emulation libraries in the document located in:  
  
/GraphicsSDK/PVRVFrame/Documentation/.  
  
  
  
The confusion with the stub libraries isn’t currently addressed so I’ve asked our documentation team to take a look and make some amendments. Thanks for your help!
