# PyROOT cannot open file: "Error in \<TNetXNGFile::Open\>: \[FATAL\] Auth failed"

**URL:** <https://root-forum.cern.ch/t/pyroot-cannot-open-file-error-in-tnetxngfile-open-fatal-auth-failed/26593>\
**Category:** ROOT\
**Created:** [October 17, 2017, 11:46am UTC](https://root-forum.cern.ch/t/pyroot-cannot-open-file-error-in-tnetxngfile-open-fatal-auth-failed/26593 "2017-10-17T11:46:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ksmith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ksmith/32/12567_2.png) [@ksmith](https://root-forum.cern.ch/u/ksmith)\
**Post date:** [October 17, 2017, 3:47pm UTC](https://root-forum.cern.ch/t/pyroot-cannot-open-file-error-in-tnetxngfile-open-fatal-auth-failed/26593/4 "2017-10-17T15:47:46Z")

</div>

I wonder if all these errors are related to your SIP issue.

> [@mwilkins](#):
>
> ```auto
> [2017-10-17 17:26:50.751422 +0200][Debug][Utility] Attempting to pre-load: libXrdSeckrb5.so
> [2017-10-17 17:26:50.751763 +0200][Error][Utility] Unable to pre-load libXrdSeckrb5.so: Plugin unable to load libXrdSeckrb5-4.so; dlopen(libXrdSeckrb5-4.so, 256): image not found
> [2017-10-17 17:26:50.751777 +0200][Debug][Utility] Attempting to pre-load: libXrdSecgsi.so
> [2017-10-17 17:26:50.751884 +0200][Error][Utility] Unable to pre-load libXrdSecgsi.so: Plugin unable to load libXrdSecgsi-4.so; dlopen(libXrdSecgsi-4.so, 256): image not found
> [2017-10-17 17:26:50.751902 +0200][Debug][Utility] Attempting to pre-load: libXrdSecgsiAuthzVO.so
> [2017-10-17 17:26:50.751975 +0200][Error][Utility] Unable to pre-load libXrdSecgsiAuthzVO.so: Plugin unable to load libXrdSecgsiAuthzVO-4.so; dlopen(libXrdSecgsiAuthzVO-4.so, 256): image not found
> [2017-10-17 17:26:50.751984 +0200][Debug][Utility] Attempting to pre-load: libXrdSecgsiGMAPDN.so
> [2017-10-17 17:26:50.752042 +0200][Error][Utility] Unable to pre-load libXrdSecgsiGMAPDN.so: Plugin unable to load libXrdSecgsiGMAPDN-4.so; dlopen(libXrdSecgsiGMAPDN-4.so, 256): image not found
> [2017-10-17 17:26:50.752050 +0200][Debug][Utility] Attempting to pre-load: libXrdSecpwd.so
> [2017-10-17 17:26:50.752104 +0200][Error][Utility] Unable to pre-load libXrdSecpwd.so: Plugin unable to load libXrdSecpwd-4.so; dlopen(libXrdSecpwd-4.so, 256): image not found
> [2017-10-17 17:26:50.752125 +0200][Debug][Utility] Attempting to pre-load: libXrdSecsss.so
> [2017-10-17 17:26:50.752238 +0200][Error][Utility] Unable to pre-load libXrdSecsss.so: Plugin unable to load libXrdSecsss-4.so; dlopen(libXrdSecsss-4.so, 256): image not found
> [2017-10-17 17:26:50.752249 +0200][Debug][Utility] Attempting to pre-load: libXrdSecunix.so
> [2017-10-17 17:26:50.752325 +0200][Error][Utility] Unable to pre-load libXrdSecunix.so: Plugin unable to load libXrdSecunix-4.so; dlopen(libXrdSecunix-4.so, 256): image not found
> 
> ```

> [@Cannot access file in python "unsafe use of relative rpath"](https://root-forum.cern.ch/t/cannot-access-file-in-python-unsafe-use-of-relative-rpath/26565/16):
>
> Okay so I found on [this thread](https://root-forum.cern.ch/t/trouble-importing-pyroot-on-osx-10-9-mavericks/17287) that python quitting is due to conflicting python versions. The same thread recommends sticking with the system build though. I think this is a legitimate bug related to Apple’s introduction of [System Integrity Protection](https://support.apple.com/en-us/HT204899). I was able to fix it using install\_name\_tool. Unfortunately, there were several such links so it needed to be done multiple times; there’s a suggestion [here](https://stackoverflow.com/questions/31343299/mysql-improperly-configured-reason-unsafe-use-of-relative-path) for doing it automatically, but I just did it manually: $ install\_name\_tool -change lib…

---

_[View the full topic](https://root-forum.cern.ch/t/pyroot-cannot-open-file-error-in-tnetxngfile-open-fatal-auth-failed/26593)._
