Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

Setup MacOS 14 Sonoma Discussion

10
General

Hi Chris, I am doing this on Pub Beta 2, and I am getting this error.

configure: error: something wrong with LDFLAGS="-L/Users/pitosalas/.asdf/installs/ruby/3.0.6/lib "

No amount of googling has helped me. Any idea? Thanks!

Any update?

For MacOS14, I had to install libyaml first (through brew) before asdf steps. Otherwise, asdf did not succeed due to error with psych extension.

i needed to do this on a brand new install on a brand new m1.

Postgres installation does no longer create a default user using brew install postgresql.

By default you only get the postgres user.

Connect to your DB server using psql postgres.

Tested on Apple M2 - macOS 14.2.1 (23C71)

Issue while installing Ruby via ASDF on Apple M2 - macOS 14.2.1 (23C71)

BUILD FAILED (macOS 14.2.1 on arm64 using ruby-build 20231225)

https://github.com/asdf-vm/asdf-ruby/issues/198
Solution https://github.com/asdf-vm/asdf-ruby/issues/198#issuecomment-1740938954

After following the linked solution, I still have the issue: BUILD FAILED (macOS 14.5 on arm64 using ruby-build 20240612)

Fixed! My path was local not homebrew

aside from libyaml (below), to get asdf to work, I also had to add the following two lines to the start of the .zshrc file:

autoload -U +X bashcompinit && bashcompinit
autoload -U +X compinit && compinit

The complete file is as follows:

autoload -U +X bashcompinit && bashcompinit
autoload -U +X compinit && compinit

. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"

is this step still needed? Mac OS Sonoma 14.6.1
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /  18:26:51
installer: Error - the package path specified was invalid: '/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg'.

xcode-select --install  18:33:40
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates

Join the discussion
Create an account Log in