Installing and running Mesa
After a few attempts i cannot seem to get mesa (The unix compatibale openGL libraries) to work properly. 1 the installation seems fine and all the library files are copies to /usr/local/lib and the header files are in /usr/local/include/GL. Now when i try to compile a file i get a lot of undefine references to functions that are in the header files i include into the program. A few people told me it was linking error but i dont know!! i have tried to compile the file like below:
1- gcc test.c
2- gcc test.c -I/usr/local/include/GL -L/usr/local lib
and they still give the same errors.
I have also tried adding /usr/local/lib into ld.so.conf and running ldconfig but that doesnt help either!!