Hm. did you try to call g++ -v instead of g++ to find out which programs are really called, and ldd on those programs to fid out which shared libs they use? -is