aferrero2707 / gimp-plugins-collection

GNU General Public License v3.0
95 stars 12 forks source link

OSX error: libX11.6.dylib is damaged and can't be opened - after security allow #9

Open securingmom opened 3 years ago

securingmom commented 3 years ago

This is on MacBook Pro 16" i9 64gigs ram, 5600 GPU, Catalina. (BigSurBlocker until kinks fade)

For an app I can click a function key prior to opening an app.

I am able to fix the first gmic_gimp_qt hurdle

Screen Shot 2021-01-01 at 3 31 45 PM

Now I can use security and privacy to add an exception HOWEVER the next item it takes issue with I cannot solve

Screen Shot 2021-01-01 at 3 35 44 PM Screen Shot 2021-01-01 at 3 35 47 PM Screen Shot 2021-01-01 at 3 36 09 PM Screen Shot 2021-01-01 at 3 37 01 PM

Stuck on

libX11.6.dylib

Screen Shot 2021-01-01 at 3 47 38 PM

MD5 hash of that file: 3b63f02e0121cb0b9225add694fcade8

edit: added mac specific details atop issue

securingmom commented 3 years ago

similar to https://github.com/aferrero2707/gimp-plugins-collection/issues/7

karo11 commented 3 years ago

I don't have Catalina nor Big Sur. I can only imagine a gatekeeper problem with XQuartz! Try to (re-)install XQuartz and open it with right click open. Try also to start xlogo or xterm from XQuartz!

myduyenn218 commented 3 years ago

I found that it will run if we remove com.apple.quarantine attribute from libX11.6.dylib like this:

xattr -d -r com.apple.quarantine /path/to/file
securingmom commented 3 years ago

Thank you, @myduyenn218

cd $HOME/Library/Application\ Support/GIMP/2.10/plug-ins/GMIC/lib
sudo xattr -d -r com.apple.quarantine ./lib*.dylib

I took the next extreme; I removed the attribute from all the files in that directory.

arimus commented 7 months ago

Just to confirm that running

cd "~/Library/Application Support/GIMP/2.10/plug-ins"
xattr -d -r com.apple.quarantine .//GMIC/lib/libX11.6.dylib

got past the issue and another set of approvals required. Just have open the osx security panel and cancel dialog + approve in security panel each entry. The extreme xattr command above may have the same effect.

So no more errors, but the tool is still not showing up under filters for me.