Ln: /usr/lib/libssl.dylib: operation not allowed by OSX

I am trying to create a symbolic link to / usr / lib, but it seems that I do not have permission included in root. The system returns that operations are not allowed.

I worked great with Yosemite, but with El Capitan it broke: /

Does anyone know what I can do?

+4
source share
3 answers

I had some problems using the linked subl command for Sublime 3 text. This was the same problem you encountered, I suppose.

Apparently, usr / local does not have the same controls on it. Therefore, instead of

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl

as recommended by Sublime docs,

it was more line by line:

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" usr/local/bin/subl
+6
source

Ok, I decided to use this command in recovery mode:

csrutil disable

Apple "limited", , . , .

sudo cp /Library/PostgreSQL/9.2/lib/libssl.1.0.0.dylib /usr/lib
sudo cp /Library/PostgreSQL/9.2/lib/libcrypto.1.0.0.dylib /usr/lib

sudo ln -fs /usr/lib/libssl.1.0.0.dylib /usr/lib/libssl.dylib
sudo ln -fs /usr/lib/libcrypto.1.0.0.dylib /usr/lib/libcrypto.dylib
0

- (rootless mode csrutil disable).

, / (rails, django, python, ruby, php,...) - :

  • -/- (, brew ...)
  • DYLD_LIBRARY_PATH .bash_profile , lib *.dylib(s)
  • / , -

For example, check python-> postgres-driver-> openssl / libssl.dylib at fooobar.com/questions/161137 / ... ) - there was a problem Incompatible library version: _psycopg.so requires version 1.0.0 or later ....

0
source

Source: https://habr.com/ru/post/1609998/


All Articles