pgCC not working

my demo license.dat include c/fortran and c++. I can compile c and fortran but when i try to compile c++ it prints

This Licensed Software was made available from STMicroelectronics
under a time-limited Beta License. The Beta License expires on
Sep 17 2007. Any attempt to use this product after Sep 17 2007
is a violation of the terms of the PGI End-User License Agreement.

even though my demo is setup to end on nov-14th. I have run the pgCC program through strace and it never tries to open ANY license.dat file. any pointers would be appreciated.

looks like the answer is here.