libGLEW has given me a few problems in that some user configuration is neccessary to get daphne running without the loader in configurations where it is not desirable. Such configurations include using another menu system or more simply - from a script. I get different symptoms depending on the distribution (I have tested Gentoo and Edubuntu with Daphne 1.0).
With
Gentoo 2006.1 I am able to install
glew to solve the missing library error. That's an easy fix:
Code:
#emerge glew
That should install version 1.3.5
In
Edubuntu 6.06 LTS, I get an error complaining
undefined symbol: __glewGetShaderiv. There seems to be a version difference between the installed version and the version in the daphne/lib/ directory. So
/usr/lib/libGLEW.so.1.3 links to the 1.3.1 version on this distribution. I have found several solutions including declaring
LD_LIBRARY_PATH environment variable, although I cannot think of any reason why you wouldn't be able to simply link to a newer version without installing from apt-get. Be careful now- you should really back up the old library and link in case you need to put it back the way it was.
This method is NOT the Debian Way.
Code:
#sudo su
#mv /usr/lib/libGLEW* ~
#cp PATH-TO/daphne/lib/libGLEW* /usr/lib/
In this method I have simply copied the library from the daphne/lib/ directory as is without a symbolic link. It should also work in plain ole Ubuntu or KUbuntu 6.06 LTS.