wrote:
I installed mesa-7.4.1 at /usr/lib and /usr/include by official debian
packages, and I also installed mesa-7.6 at /usr/local/lib and
/usr/local/include by make install the source code of mesa, now I want
my program to link to the libs and includes in /usr/local, how could I
got it? thanks! (I do not use the autoconf to build and link my
program, I simply use g++ do it.)
You should set LD_LIBRARY_PATH to /usr/local/lib.
Other suggestions:
http://www.debian-administration.org/article/Installing_two_versions_of_libraries_concurrently
Good luck,
Yinon