# Linker failture after upgrade

**URL:** <https://forums.developer.nvidia.com/t/linker-failture-after-upgrade/136292>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [October 23, 2019, 10:36am UTC](https://forums.developer.nvidia.com/t/linker-failture-after-upgrade/136292 "2019-10-23T10:36:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DMiddleton](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@DMiddleton](https://forums.developer.nvidia.com/u/DMiddleton)\
**Post date:** [October 23, 2019, 10:36am UTC](https://forums.developer.nvidia.com/t/linker-failture-after-upgrade/136292/1 "2019-10-23T10:36:21Z")

</div>

Everytime Visual Studio upgrades which is pretty regularly now with the new way Microsoft pushes small updates more oftern the location of the linker is lost in pgfortran.

I can only ever resolve this by uninstalling and reinstalling the compiler. There has to be a better way of doing this. What do I need to update to get it working again?

---

<div class="post-metadata">

**Author:** ![aglobus1](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aglobus1/32/14047_2.png) [@aglobus1](https://forums.developer.nvidia.com/u/aglobus1)\
**Post date:** [October 23, 2019, 7:08pm UTC](https://forums.developer.nvidia.com/t/linker-failture-after-upgrade/136292/2 "2019-10-23T19:08:08Z")

</div>

Hi DMiddleton,

I agree. Installing/uninstalling every time there is a VS update is not ideal at all. Could you post the output from compiling something a simple program with -v? The -v will give verbose output about the point of failure.

The compilers, at install time, create a localrc file located in the bin/ directory of the installation. This RC file has the paths of where to find the visual studio components that PGI requires. Depending on the output from -v, the solution might be as simple to change an entry in the localrc file; feel free to post your localrc. Unfortunately we don’t have a script or anything to automate the process just yet.
