[PD] gem: can't load library

IOhannes m zmoelnig zmoelnig at iem.at
Wed Jan 9 09:46:22 CET 2008

Agent Engram wrote:
>  ># yum install gcc-c++
> this did it...YEE
> I also installed mesa-GLU-devel ehich was missing...
> ALMOST THERE! THANKS ALL...but I am still getting a load error in pd...
> /home/cgraham/installs/Pd-0.39.3-extended /Gem/src/Gem.pd_linux: 
> /home/cgraham/installs/Pd-0.39.3-extended/Gem/src/Gem.pd_linux: 
> undefined symbol: glUniform2i
> Gem: can't load library

this is really a known issue, though it is not in the "KNOWN ISSUES" 

basically it means that your gfx-driver does not support openGL-2.0.
either try upgrading your driver or downgrading Gem.
(Gem is a bit optimistic about which openGL-version is expects)

for the former read the documentation of your driver.
for the latter, try one of these:
- configure Gem with "./configure --with-glversion=1.5"
- delete source-files containing calls to "glUniform..." from the 
Gem-sources and recompile: offending files are
  . Manips/glsl_*.cpp
  . openGL/GEMglUniform1fARB.cp
- google for "glUniform2i Gem"...
- convince somebody that they should finally code the glew-support 
(runtime check of openGL-functionality)

> so I read this....
> =============================================
> -fPIC:
> so I am running an AMD64 should I be concerned with this issue?

no, this only affects you, when you cannot _link_ Gem. since you are 
already a step further (not being able to _load_ a compiled/linked Gem), 
the build-system has taken care of this hurdle for you.


More information about the Pd-list mailing list