I think my JDK is broken. I am on OS X 10.6.8.
I want to look in the sources when debugging in Eclipse, etc, but Eclipse can't find the sources, so I looked up the installed JREs and found this path with the title JVM 1.6.0 (MacOS X Default)
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
In Terminal I went to the directory /System/Library/Frameworks/JavaVM.framework/Versions and executed ls -al:
drwxr-xr-x 13 root wheel 442 8 Sep 22:46 .
drwxr-xr-x 12 root wheel 408 8 Sep 22:46 ..
lrwxr-xr-x 1 root wheel 5 8 Sep 22:45 1.3 -> 1.3.1
drwxr-xr-x 3 root wheel 102 21 Jul 2009 1.3.1
lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.6 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 8 Sep 22:45 1.6.0 -> CurrentJDK
drwxr-xr-x 10 root wheel 340 8 Sep 22:46 A
lrwxr-xr-x 1 root wheel 1 8 Sep 22:45 Current -> A
lrwxr-xr-x 1 root wheel 59 8 Sep 22:45 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
So Eclipse already has the proper JDK linked.
Another test:
$ javac -version
javac 1.6.0_26
$ which javac
/usr/bin/javac
$ ls -al /usr/bin/ | grep javac
lrwxr-xr-x 1 root wheel 75 8 Sep 22:45 javac -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javac
So it all looks fine, but there is no rt.jar or src.jar Here is a screenshot:
So I try to reinstall it. I go to Apple's website and download this package: Java for Mac OS X 10.6 Update 5 Developer Package, file: javadeveloper_for_mac_os_x_10.6__10m3425.dmg.
The installation finished successfully, but it doesn't change anything.
I show the last modified files on my computer, these are only some java tools, located in usr/share/java/Tools
Java VisualVM
Jar Bundler
Applet Launcher
There still is no rt.jar or src.jar in the java home directory.
NOTE: This answer is old and for Apple Java 6. For Oracle Java you need to download the JDK as it includes src.zip.
The source is not included in the default Java download. You need to additionally install the corresponding development package available from ADC.
In addition, Eclipse has not yet been taught how to find the src.zip file and the dialogue cannot look inside packages.
On my 10.7, the above mentioned installation put src.zip in /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home/src.jar
From: http://lookfirst.com/2011/03/fix-missing-source-for-java-mac-os-x.html (adapt version #s and paths as needed)
Go to http://connect.apple.com and download Java for Mac OS X 10.6 Update 4 Developer Package
Install it.
Open a Terminal.app window
cd /System/Library/Frameworks/JavaVM.framework/Home
sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_24-b07-334.jdk/Contents/Home/src.jar .
sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_24-b07-334.jdk/Contents/Home/docs.jar .
To all the guys who's been suffering from searching the source code here and there for hours but finally get nothing.
For Eclipse to attach(imperfectly available for 1.6):
jdk1.7.0_21_src_for_mac.zip
Related
I just changed my dev machine from a windows box to a macbook pro (m1 chip). I need to be able to build / compile / debug a dotnet 5.0 project.
I'm assuming I can download multiple versions of the SDK and runtimes on my mac ... like the net6.0 for arm64 bit and net5.0 x64. (doesn't seem to be arm64 for .net 5.0 per the docs)
I've installed both SDKS using these two dotnet installers you see below:
me#MmMacBook-Pro ~ % ls -lah ~/Downloads
total 1469464
drwx------+ 10 me staff 320B 23 Jan 14:01 .
drwxr-x---+ 27 me staff 864B 23 Jan 14:00 ..
-rw-r--r--# 1 me staff 6.0K 23 Jan 13:41 .DS_Store
-rw-r--r-- 1 me staff 0B 21 Jan 15:07 .localized
-rw-r--r--# 1 me staff 104M 21 Jan 23:24 VSCode-darwin-arm64.zip
-rw-r--r--# 1 me staff 167M 22 Jan 14:38 azuredatastudio-macos-1.34.0.zip
-rw-r--r--# 1 me staff 261M 23 Jan 13:17 dotnet-sdk-5.0.404-osx-x64.pkg
-rw-r--r--# 1 me staff 159M 23 Jan 13:38 dotnet-sdk-6.0.101-osx-arm64.pkg
-rw-r--r--# 1 me staff 26M 21 Jan 23:53 git-2.33.0-intel-universal-mavericks.dmg
I didn't get any errors during either install. But at this point, when I check the list of dotnet sdks, I only see the 6.0 version:
me#Mm-MacBook-Pro ~ % dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.101
Commit: ef49f6213a
Runtime Environment:
OS Name: Mac OS X
OS Version: 12.1
OS Platform: Darwin
RID: osx.12-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.101/
Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc
.NET SDKs installed:
6.0.101 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
me#Mm-MacBook-Pro ~ % dotnet --list-sdks
6.0.101 [/usr/local/share/dotnet/sdk]
When I manually check the contents of /usr/local/share/dotnet I see that I have an x64 folder:
me#Mm-MacBook-Pro ~ % ls -lah /usr/local/share/dotnet/
total 456
drwxr-xr-x 12 root wheel 384B 23 Jan 14:10 .
drwxr-xr-x 3 root wheel 96B 22 Jan 15:08 ..
-rw-r--r-- 1 root wheel 1.1K 17 Nov 13:14 LICENSE.txt
-rw-r--r-- 1 root wheel 77K 17 Nov 13:14 ThirdPartyNotices.txt
-rwxr-xr-x 1 root wheel 142K 23 Nov 14:58 dotnet
drwxr-xr-x 3 root wheel 96B 17 Nov 13:30 host
drwxr-xr-x 6 root wheel 192B 23 Jan 14:10 packs
drwxr-xr-x 3 root wheel 96B 20 Nov 01:14 sdk
drwxr-xr-x 3 root wheel 96B 20 Nov 01:15 sdk-manifests
drwxr-xr-x 4 root wheel 128B 22 Jan 15:08 shared
drwxr-xr-x 3 root wheel 96B 20 Nov 01:15 templates
drwxr-xr-x 10 root wheel 320B 23 Jan 13:58 x64
Can someone point me in the right direction / tell me where I'm going wrong?
Just to be sure that the 6.0 install is working, I spun up a new project like this:
dotnet new webapp
and I was able to compile.
Thanks.
Édit 1
Per the comments just going to upgrade the project to 6.0.
I get the following error when I am trying to install virtualenv and virtualenvwrapper:
source ~/.bash_profile
/usr/local/bin/python3
/usr/local/opt/python/bin/python3.6: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper')
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON =/usr/local/bin/python3 and that PATH is
set properly.
My bash profile is as follows:
PATH=/usr/bin:/bin:/usr/sbin:/sbin
export PATH
# add custom, local installations to PATH
PATH=/usr/local/bin:/usr/local/sbin:"$PATH"
# add MacPorts to PATH
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/
source /usr/local/bin/virtualenvwrapper.sh
and my PATH is:
/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
I see that the virtualenv and virtualenvwrapper.sh are present in /usr/local/bin
This shows that i have the "virtualenv" installed in the following directory.
MacBook-Air:bin jays$ ls -alt vir*
-rwxr-xr-x 1 root admin 301 Jul 8 22:09 virtualenv-clone
-rwxr-xr-x 1 root admin 325 Jul 8 22:09 virtualenv
-rwxr-xr-x 1 root admin 41703 Feb 9 2019 virtualenvwrapper.sh
-rwxr-xr-x 1 root admin 2210 Feb 9 2019 virtualenvwrapper_lazy.sh
MacBook-Air:bin jays$ pwd
/usr/local/bin
This is the directory listing to show my python directory:
MacBook-Air:bin jays$ ls -alt pyt*
I have python 3.6.5:
lrwxr-xr-x 1 jays admin 46 Jul 8 21:38 python3.6m-config -> ../Cellar/python/3.6.5_1/bin/python3.6m-config
lrwxr-xr-x 1 jays admin 39 Jul 8 21:38 python3.6m -> ../Cellar/python/3.6.5_1/bin/python3.6m
lrwxr-xr-x 1 jays admin 45 Jul 8 21:38 python3.6-config -> ../Cella
r/python/3.6.5_1/bin/python3.6-config
lrwxr-xr-x 1 jays admin 38 Jul 8 21:38 python3.6 -> ../Cella
r/python/3.6.5_1/bin/python3.6
lrwxr-xr-x 1 jays admin 43 Jul 8 21:38 python3-config -> ../Cellar/python/3.6.5_1/bin/python3-config
lrwxr-xr-x 1 jays admin 36 Jul 8 21:38 python3 -> ../Cellar/python/3.6.5_1/bin/python3
Any insight would be appreciated. I looked at similar questions which have been answered however the answers there did not resolve my issue.
Ever since upgrading to Yosemite, I get this error trying to build anything that includes ruby.h:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found
#include "ruby/config.h"
^
1 error generated.
make[1]: *** [objects/if_ruby.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [first] Error 2
And sure enough, /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/config.h is indeed missing.
$ ls -laF /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/
total 72
drwxr-xr-x 21 root wheel 714 Jul 29 21:56 ./
drwxr-xr-x 5 root wheel 170 Jul 29 21:56 ../
drwxr-xr-x 7 root wheel 238 Jul 29 21:56 backward/
-rw-r--r-- 2 root wheel 3360 Sep 21 15:25 debug.h
-rw-r--r-- 2 root wheel 5553 Sep 21 15:25 defines.h
-rw-r--r-- 2 root wheel 881 Sep 21 15:25 digest.h
-rw-r--r-- 2 root wheel 7628 Sep 21 15:25 dl.h
-rw-r--r-- 2 root wheel 14123 Sep 21 15:25 encoding.h
-rw-r--r-- 2 root wheel 32904 Sep 21 15:25 intern.h
-rw-r--r-- 2 root wheel 5869 Sep 21 15:25 io.h
-rw-r--r-- 2 root wheel 4522 Sep 21 15:25 missing.h
-rw-r--r-- 2 root wheel 37617 Sep 21 15:25 oniguruma.h
-rw-r--r-- 2 root wheel 1502 Sep 21 15:25 re.h
-rw-r--r-- 2 root wheel 890 Sep 21 15:25 regex.h
-rw-r--r-- 2 root wheel 49734 Sep 21 15:25 ruby.h
-rw-r--r-- 2 root wheel 4651 Sep 21 15:25 st.h
-rw-r--r-- 2 root wheel 374 Sep 21 15:25 subst.h
-rw-r--r-- 2 root wheel 1102 Sep 21 15:25 thread.h
-rw-r--r-- 2 root wheel 2139 Sep 21 15:25 util.h
-rw-r--r-- 2 root wheel 1968 Sep 21 15:25 version.h
-rw-r--r-- 2 root wheel 1794 Sep 21 15:25 vm.h
Did the install accidentally a file? Does Yosemite just ship with a busted Ruby header file set?
What's the best way to fix this? Can I just unpack the source code in there to get the right headers?
One note on this: I ran into this problem after upgrading to "OS X El Capitan". I installed the command line tools by running 'xcode-select --install'. After that, my ruby build environment started working again.
For those who already had Xcode installed from the Apple developers site, running xcode-select --install doesn't work, since it will say that Xcode is already installed (Xcode already comes with the CommandLineTools bundled).
In my case, I fixed it by downloading the corresponding CommandLineTools from the same place, executing it, then going to /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg and executing it too.
cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby
sudo ln -s ../universal-darwin15/ruby/config.h ./config.h
updates Nicholas Tsipanov's answer from 2014-10-18.
I got the same error, but installed "Command Line Tools (OS X 10.10) for Xcode - Xcode 6.1" and installing worked fine after that.
If you use Homebrew, brew install ruby is a fast workaround (it gets you a brand new ruby installation distinct from the one from Xcode).
Try this:
cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby
sudo ln -s ../universal-darwin13/ruby/config.h ./config.h
Xcode got messed up in the upgrade somehow.
I opened Xcode (which I never do otherwise) and it complained about all sorts of missing components. So I let it go ahead and fix itself, and now all is well.
Props to CDub in the comments on OP for pointing to this as a potential source of weirdness.
I am running Mojave 10.14.6. The answer here fixed the subject issue for me: https://stackoverflow.com/a/58084238/284651
Solution:
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
sudo xcodebuild -license accept
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
Fixed by pointing to correct path for Xcode developer tools.
Error before (Note the path to Xcode711.app instead of Xcode.app)
/Applications/Xcode711.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/ruby.h:24:10:
Ran
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
I've tried to configure my IntelliJ 13.1.5 + Ruby 6.5.2 plugin to run RSpec tests.
When I go to Run -> Edit Configurations and check the checkbox "Run the script in context of the bundle (bundle exec)" in Bundler tab, I get error "Run configuration error: No Gemfile found". See attached screenshot.
My Gemfile is definitely present in the root of working directory. Look for ls -la output below:
drwxr-xr-x 27 lukasm staff 918 27 Oct 09:23 .
drwxr-xr-x 38 lukasm staff 1292 13 Oct 15:53 ..
-rw-r--r--# 1 lukasm staff 6148 20 Oct 11:12 .DS_Store
drwxr-xr-x 16 lukasm staff 544 27 Oct 15:50 .git
-rw-r--r-- 1 lukasm staff 334 7 Jul 12:14 .gitignore
drwxr-xr-x 13 lukasm staff 442 27 Oct 15:51 .idea
-rw-r--r-- 1 lukasm staff 203 29 Aug 11:02 .rubocop.yml
-rw-r--r-- 1 lukasm staff 4 7 Jul 12:14 .ruby-gemset
-rw-r--r-- 1 lukasm staff 6 8 Jul 10:51 .ruby-version
-rw-r--r-- 1 lukasm staff 704 20 Oct 18:30 CPS.iml
-rw-r--r-- 1 lukasm staff 396 3 Sep 15:13 Gemfile
-rw-r--r-- 1 lukasm staff 2919 16 Oct 15:04 Gemfile.lock
-rw-r--r-- 1 lukasm staff 3426 7 Jul 12:14 README.md
-rw-r--r-- 1 lukasm staff 7436 24 Oct 17:54 Rakefile
drwxr-xr-x 3 lukasm staff 102 27 Oct 11:42 config
-rw-r--r-- 1 lukasm staff 5234 13 Oct 16:02 config.yml
-rw-r--r-- 1 lukasm staff 7771 29 Sep 09:46 dump.rdb
-rw-r--r-- 1 lukasm staff 366256 5 Oct 10:28 eir_access.log
-rw-r--r-- 1 lukasm staff 528 26 Sep 16:15 eir_error.log
drwxr-xr-x 10 lukasm staff 340 5 Aug 12:29 lib
-rw-r--r-- 1 lukasm staff 2168 11 Jul 11:13 results.xml
drwxr-xr-x 4 lukasm staff 136 5 Aug 12:29 scripts
drwxr-xr-x 9 lukasm staff 306 20 Oct 11:12 spec
drwxr-xr-x 2 lukasm staff 68 8 Jul 16:38 src
drwxr-xr-x 9 lukasm staff 306 16 Oct 15:04 stub_data
drwxr-xr-x 6 lukasm staff 204 27 Oct 13:55 tmp
-rw-r--r-- 1 lukasm staff 472 7 Jul 12:14 uris.yaml
Question: how can I fix that error "Run configuration error: No Gemfile found" ?
I ran into the same issue today and after many hours I was able to fix it.
The environment where this issue occurred was: Ubuntu 14.04.1, IntelliJ 13.1.5, Test::Unit Test runner UI attached for framework, RubyMine plugin 6.0.0.20140123, rbenv and Ruby 2.0.0-p594
To resolve this "Run Configuration error: No Gemfile found", I had to:
Delete the Gemfile.lock located at the root of the project
From the shell command line, navigate to the project root folder and run "bundle install" so that Bundler started fetching gem metadata from https://rubygems.org/........
Go back to Intellij and reselect an SDK for the project at File -> Project Structure
Go to edit configuration, delete and recreated the rake configuration
I hope this would work for you... I also did other steps that I don't think they were necessary like restarting Intellij, reimporting the project, checking on and off the Test::Unit and the bundler option
Last, I want to share the steps that I had to do to reproduce this issue from scratch:
Imported a ruby project into Intellij
From the shell command, installed rbenv then installed ruby 2.0.0-p594
From Intellij, navigated to File -> Project Structure -> Project and set the SDK to rbenv 2.0.0-p594
From the shell command, installed bundler as follows: gem install bundler
Then back to Intellij were I navigated again to File -> Project Structure -> Project and noticed that the SDK was set back to , I set the SDK back to rbenv 2.0.0-p594
As soon as I hit ok, a popup showed up in IntellJ asking to install Ruby Plugin Gem Manager so I clicked on "install missing gem" link
After the installation was over, I navigated to Edit Configuration, switched to Bundler tab and as soon as I selected Run the script in the context of Bundler check box, I got the "Run Configuration error: No Gemfile found"
So I think that installing bundler late in the project configuration process caused this issue to surface
I have the exact same error, but different rubymine version on Windows and I use Rack configuration tempalte, here is my answer generally it will be the same concept: RubyMine somehow only looks for Gemfile in the "Settings/Project: projectname/Project Structure" so if you copy and paste the missing Gemfile into the Parent Project directory it will get picked up. However, I think Rubymine should also scan for subdirectories where Gemfile existing to include it, or probably rubymine has a way to override the default Gemfile by specify another Gemfile location - this i do not know.
Issue resolved for me.
I had faced the same problem in RubyMine 2018.3.5 version. And I found that my project structure was
Parent Folder
-> Project Folder
-> Vendor folder
-> Gemfile (etc.)
when I changed the structure to
-> Project Folder
-> Vendor folder
-> Gemfile (etc.)
Then there was no complain about "No Gemfile Found"
The basic checks which I think is necessary to debug in Rubymine are
Set the project structure as above
Verify jruby version and its gems(Preferences -> Languages & Frameworks -> Ruby SDK & Gems) My Jruby Version is 9.1.7.0
In Run/Debug Configuration -> Bundler set the checkbox Run the script in context of bundle (bundle exec)
above points are basic ones to begin with, you might need to install the missing gem or right version of gem after this configuration.
I am trying to do a clean build of Lilypond on a clean install of Mac OS X. Dependencies have been installed using Brew.
I do ./configure && make all in the Lilypond dir. It gets through the configure and starts building but ends on
ERROR: In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"
I know what libguile is, I don't know if it's on my system (or where it ought to be) but the configure script completes successfully and does not identify it as a missing dependency so I assume it was able to find it.
Any suggestions? Googling shows some old hints with regards to setting $LD_LIBRARY_PATH, but it seems these don't apply to Mac OS 10.6.
There is a port of lilypond available from MacPorts.
$ port info lilypond
lilypond #2.12.3, Revision 3 (textproc)
Variants: [+]docs, gui, universal
Description: Lilypond is a unix-based automated engraving system that generates beautiful sheet music from input files. Lilypond uses its
own input format, .ly, which in many ways is similar to LaTeX. Lilypond can export sheet music to PDF, EPS, SVG, and PNG
formats, and can also create MIDI files.
Homepage: http://lilypond.org/
Library Dependencies: fontforge, ghostscript, mftrace, guile, texinfo, pango, flex, urw-fonts, netpbm
Platforms: darwin
License: unknown
Maintainers: snc#macports.org, openmaintainer#macports.org
It's likely that the dynamic libraries have a .dylib extension, but need a .so extension.
I worked around this by creating links in /opt/local/lib
Owner-Users-MacBook-Pro-15:~ Carl$ ls -l /opt/local/lib | grep .so
-rwxr-xr-x 2 root admin 45152 Mar 11 12:19 libXcursor.1.dylib
-rw-r--r-- 2 root admin 50232 Mar 11 12:19 libXcursor.a
lrwxr-xr-x 1 root admin 18 Mar 11 12:19 libXcursor.dylib -> libXcursor.1.dylib
-rwxr-xr-x 2 root admin 1105 Mar 11 12:19 libXcursor.la
lrwxr-xr-x 1 root admin 32 Mar 11 21:19 libguile-srfi-srfi-1-v-3.so -> libguile-srfi-srfi-1-v-3.3.dylib
lrwxr-xr-x 1 root admin 36 Mar 11 21:19 libguile-srfi-srfi-13-14-v-3.so -> libguile-srfi-srfi-13-14-v-3.3.dylib
lrwxr-xr-x 1 root admin 32 Mar 11 21:20 libguile-srfi-srfi-4-v-3.so -> libguile-srfi-srfi-4-v-3.3.dylib
lrwxr-xr-x 1 root admin 33 Mar 11 21:20 libguile-srfi-srfi-60-v-2.so -> libguile-srfi-srfi-60-v-2.2.dylib
lrwxr-xr-x 1 root admin 17 Mar 11 21:21 libguile.so -> libguile.17.dylib
lrwxr-xr-x 1 root admin 30 Mar 11 21:22 libguilereadline-v-17.so -> libguilereadline-v-17.17.dylib
The easiest way to install Lilypond on macOS is to use lyp. Apart from installing lyp itself, which is a Ruby gem, there's no other dependency to install, no compilation step. Plus, you can install multiple versions of Lilypond and easily switch between them.
$ gem install lyp
$ lyp install lilypond
To install a specific version:
$ lyp install lilypond#2.19.53