Thanks for the information. I’ve reinstalled the 2.19 package and put /opt/lilypond/bin in the PATH. I can execute lilypond from the Terminal still getting the segmentation fault. But now with a different reason:
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb The permissions for /opt and /opt/lilypond are ok. /opt/local doesn’t exist anymore, because I removed the port packages. And it seems that all necessary packages come with the lilypond installer. Is that right? My PATH now looks the following: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Library/Apple/usr/bin:/Users/username/Library/Python/3.7/bin:/opt/lilypond/bin Best and great thanks for taking your time Moritz > Am 26.03.2020 um 14:15 schrieb Hans Åberg <haber...@telia.com>: > > >> On 26 Mar 2020, at 12:57, Moritz Heffter <mxo...@gmail.com> wrote: >> >> Well this is bringing me one step further. I think the problem is that some >> libraries are not found. Especially guile. >> >> I’ve now completely removed macports (I’ve installed it only because of >> Lilypond) and reinstalled the Lilypond package of version 2.19 from Hans >> again. It installs into /opt/lilypond by default and I can’t prevent this. >> The result is again a segmentation fault. BTW the problem is the same with >> the 2.19 oder 2.20 version from macports. > > Both MacPorts and the installer use full paths, so that cannot be changed. I > made the choice with Werner to put the installer in /opt/lilypond/ which is > suggested by the FHS. > >> BTW, /opt is in read-only mode. I’m not able to remove it. > > One should have permissions drwxr-xr-x, as by ls -l, for /opt/, /opt/local/ > and /opt/lilypond/. > >> Maybe I have to switch off the system integrity protection for that but I’m >> doing this only if I have time. > > 'csrutil status’ gives enabled here. So that is not the problem. >