unable to link C++, zero-sized libCz.so

I just installed PGI 16.1. In the lib/ directory, a number of the libraries are zero-sized (including libCz). When I try to compile my mixed Fortran / C++ code, I get:

/usr/bin/ld: cannot find -lstdz
/opt/pgi/linux86-64/16.1/lib/libCz.so: file not recognized: File truncated

should those libraries really be zero-sized? The md5sum of the download matched that published by pgroup.com

I posted too soon, I guess.

It seems that the old flag to the linker -pgcpplibs should now be -pgc++libs. Not sure why the old one still exists.

It probably shouldn’t exist or better yet mean the same thing as -pgc++libs. I added a problem report (TPR#22281) and sent it off to engineering.

Thanks for the report!
Mat

TPR 22281 - UF: remove or update the “-pgcpplibs” flag now that pgcpp is gone

has been fixed in the current 16.3 release.