-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[macOS][10.15] libhostfxr.dylib cannot be opened because Apple can't verify if it contains malware #5589
Comments
|
Look at the line : - Installing .NET Core prerequisites might help resolve this problem. Have you tried that? |
|
Will try it, shouldn't those dependencies be bundled with Jackett already as Mono is not required anymore? Moreover, looking even more closely at the error message, the issue is not that the file wasn't found, but that checking it for malware wasn't possible. This is a macOS 10.15 Catalina-specific issue, which I surmise won't change if the file is identical. Nevertheless, will try afterwards! |
|
Result: even after installing the full .NET Core 2.2 package, Jackett cannot be opened, with exactly the same error message. |
|
Found a workaround, but it is extremely unorthodox. The user can still run unchecked dylib/dll files by allowing them manually in Gatekeeper preferences under Security and Privacy. However this has to be done one-by-one and jackett has to be relaunched manually all the time. Here comes the hack: manually setting the quarantine flag of each dylib and dll in the Jackett directory! Copy the string (should be something like This will effectively whitelist all the dll and dylib files, allowing Jackett to run. |
|
Unfortunately it didn't work for me, perhaps I'm doing this wrong?
Returns:
Cheers! |
|
Yeah the |
|
Moreover, don't forget to use |
|
Hi all, Hope you're well Just upgraded macOS to Catalina and Jackett is broken because of this... If I action "Cancel" then dialog just returns every few seconds I followed [A]pple instructions to open an app from an unidentified developer - neither appear to work Same or different issue?:
Yours hopefully a: https://support.apple.com/en-mt/guide/mac-help/mh40616/mac |
|
FYI
This worked for me (i.e. without To clarify, who's fault is this (e.g. Apple, jackett dependency or jacket core)? Hope this helps Regards PS @thebluepotato thanks! |
|
Also...
Thankfully not the case for me Hope this helps Regards |
This helps! the xattr way resolve one of my libfile, but failed on the next one, this way should be the correct one. |
|
I just experienced this on upgrade to Catalina. The fix was to leave the 'security & privacy" window open. Every time you click "cancel" the DLL will show up with "Allow Anyway" as an option. If you click on that (for every single DLL, ugh), then if you relaunch Jackett, it will then show the same "cannot be opened" dialog but with one significant exception - it now has an "open" option. Once you click on each of these (again, for each DLL!), then restart Jackett a third time, it will have updated the attributes for each file and no longer error out. This was a good 15 minutes of clicking, but it resolved the issue. |
|
There must be some way to get around this solution to save everyone from clicking for 15 minutes...? |
|
@punkhop @thebluepotato @rrrevin @protura @orenwolf There are two tips I used to solve the Jackett malware popup issue. 1) Quarantine removalThe first tip is to remove quarantine flag in a recursive manner for your intended folder: $ sudo xattr -r -d com.apple.quarantine /path/to/folderIn this case for Jackett use: $ sudo xattr -r -d com.apple.quarantine /path/to/JackettThe command will recursively delete the extended attribute (xattr) of com.apple.quarantine attribute recursively to the files in the folder. The (-r) option will allow the quarantine attribute of all files inside the application to be selected, while the (-d) deletes the extended attribute name. You can find more information in the extended attributes (xattr) help page: $ xattr -h2) Terminal "Privacy"The second tip is setting the Terminal "privacy". System Preferences -> Security & Privacy -> Privacy and select "Developer Tools" on the left, and add terminal to allow. This step allows the Terminal app to run software locally that does not meet the system's security policy. Apple Support Reference: Safely open apps on your Mac |
|
@donfrancisco Thanks man! Will this let me install Jackett as a service so it runs at startup? For now, I'm manually running the Jackett app and minimizing the terminal window and leaving it running all the time in the dock. |
|
@thebluepotato is this solved? |
|
I ran into this issue today so I wrote a little bash function |
|
@gargolito Jackett doesn't have an active MacOS developer. Could you help us to improve the macos_installer so it works out-the-box for all users? Take a look at #8329 too. If you can open a PR many users will benefit. |
Update macOS install script with quarantine permissions; should fix Jackett#5589
|
In my PR, I've taken a different approach based on my initial fix in this thread, namely telling Gatekeeper that the files are ok rather than deleting the attribute. |
|
@ all in this issue. Could you test this? #8915 |
|
@ngosang I’ve tested my own PR and found that it managed to install and get Jackett running from a fresh install without any issues. I’ve also sanity-checked that without running the script, Jackett wouldn’t launch due to Gatekeeper.
However, these are beyond the scope of this issue and PR. I also gladly invite others to test so it can be merged soon! |
|
@thebluepotato I trust you, my sole concern is if this will work on old MacOS versions. Will be merged in a couple of days unless someone has objections. I think @garfield69 can test it too. There are more MacOS issues. Maybe you can help too (in other PRs) OS MacOS |
|
@ngosang No worries! As for older macOS versions, I'm not sure whether the |
|
Jackett 0.16.691 |
|
I had a similar error after installing dotnet preview 6 on my m1 macbook to try dotnet on arm. I solved it by just deleting the folder After deleting it, dotnet started worked again. |



When opening Jackett in macOS 10.15 Catalina beta 3, an alert pops up saying that libhostfxr.dylib cannot be opened. This is due to a new Gatekeeper policy in Catalina.
Here's the error in the Terminal:
Jackett version: 0.11.463 (I'm using the macOS binaries)
The text was updated successfully, but these errors were encountered: