Print

Print


The problem is that El Capitan has a new “rootless” or “System Integrity Protection” feature.  This means that no user, not even an administrator, can change the systems files.

The fsl GUI works, as apparently it knows to look in /opt/X11 (or /usr/X11), but fslview is still looking for the library in /usr/X11R6.  But even when you reinstall XQuartz, it is not able to create the new files in /usr.  Nor is it possible to create a link from /usr/X11R6 to /opt/X11, even using sudo, when this rootless mode is enabled.

You can apparently turn off this rootless mode by various means, e.g.

sudo nvram boot-args="rootless=0";sudo reboot

or by booting into recovery mode (hold down Command-R while booting), then entering "csrutil disable” in a terminal window and rebooting.

keith

On Oct 1, 2015, at 9:08 PM, Junjie Wu <[log in to unmask]> wrote:

Hi all,

I also encountered the same problem with fslview in OS X 10.11 El Capitan. I followed the steps provide by Leeron, but the problem still existed.

Are there any other solutions available?

Error info:

dyld: Library not loaded: /usr/X11R6/lib/libSM.6.dylib
  Referenced from: /usr/local/fsl/bin/fslview.app/Contents/MacOS/fslview
  Reason: image not found
/usr/local/fsl/bin/fslview: line 7:   801 Trace/BPT trap: 5       ${FSLDIR}/bin/fslview.app/Contents/MacOS/fslview $@

​Thanks,
​Junjie
On Thu, Sep 17, 2015 at 11:48 AM, Leeron Rabinov <[log in to unmask]> wrote:

The following got FSL up and running on the 10.11 GM:

0. (may not be necessary) remove FSL

1. Install latest version of XQuartz

2. Download fslinstaller.py

3. Open fslinstaller.py in text editor and change line 1090 to for release in range(10,16): and comment out line 1092. Save.

4. Run python fslinstaller.py


Good luck!