Symlink does not work on Tahoe #6484
Unanswered
ucaplek
asked this question in
Getting started
Replies: 2 comments 3 replies
-
|
can you run |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Dear Anton
I do not have wget installed, but this is the output:
```console
MacBook-Pro-3:~ lev$ brew link wget --debug
Error: No such keg: /usr/local/Cellar/wget
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:510:in 'Homebrew::CLI::NamedArgs#resolve_kegs'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:517:in 'Homebrew::CLI::NamedArgs#resolve_latest_keg'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:372:in 'block in Homebrew::CLI::NamedArgs#load_formula_or_cask'
/usr/local/Homebrew/Library/Homebrew/api.rb:373:in 'Homebrew.with_no_api_env_if_needed'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:360:in 'Homebrew::CLI::NamedArgs#load_formula_or_cask'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:350:in 'Homebrew::CLI::NamedArgs#load_and_fetch_full_formula_or_cask'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:87:in 'block in Homebrew::CLI::NamedArgs#to_formulae_and_casks'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:86:in 'Array#each'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:86:in 'Enumerable#flat_map'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:86:in 'Homebrew::CLI::NamedArgs#to_formulae_and_casks'
/usr/local/Homebrew/Library/Homebrew/cli/named_args.rb:263:in 'Homebrew::CLI::NamedArgs#to_latest_kegs'
/usr/local/Homebrew/Library/Homebrew/cmd/link.rb:52:in 'Homebrew::Cmd::Link#run'
/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in '<main>'
```
I successfully installed gnuplot by going meticulously through the output of brew and managing the links, e.g.,
```console
brew link --overwrite libmpc --dry-run
```
and this solved the problem with gnuplot, it runs now. I had to apply this many times.
However, I still cannot install properly gfortran: the installer went through OK. However, when I run gfortran, only compilation works, there are problems at the linking stage:
```console
[MacBook-Pro-3:~/Software/TOOLS/TETR] lev% make -f Makefile_gfortran
gfortran -c tetr_param.f90
gfortran -c cp2k.f90
gfortran -c sym_par.f90
gfortran -c bb.f90
gfortran -c real8.f90
gfortran -c space.f90
gfortran -c working.f90
gfortran -c whereis.f90
gfortran -c vk_vibr.f90
gfortran -c tetrag1.f90
gfortran -c systema.f90
gfortran -c symgenv.f90
gfortran -c siesta.f90
gfortran -c reference.f90
gfortran -c qe.f90
gfortran -c pgroup_base.f90
gfortran -c pgroup.f90
gfortran -c mendeleev.f90
gfortran -c matrix.f90
gfortran -c lists.f90
gfortran -c buffer.f90
gfortran -c buffer0.f90
gfortran -c buffer1.f90
gfortran -c buffer_c.f90
gfortran -c buffer_index.f90
gfortran -c atom_info.f90
gfortran -c afm.f90
gfortran -c main.f90
gfortran -c applica.f90
gfortran -c lattice.f90
gfortran -c point_gr.f90
gfortran -c coulomb.f90
gfortran -c add_rem.f90
gfortran -c wyckoff_int.f90
gfortran -c kpoint_vibr.f90
gfortran -c mol_vibr.f90
gfortran -c eig_vibr.f90
gfortran -c input_tetr.f90
gfortran -c move_atoms.f90
gfortran -c get_best_ai.f90
gfortran -c change.f90
gfortran -c change_tools.f90
gfortran -c make_fcm.f90
gfortran -c tools.f90
gfortran -c tools_strings.f90
gfortran -c cluster.f90
gfortran -c permut.f90
gfortran -c orbita.f90
gfortran -c do_vibr.f90
gfortran -c do_cond.f90
gfortran -c do_irrep.f90
gfortran -c ttag.f90
gfortran -c solve_vibr.f90
gfortran -c devices.f90
gfortran -c crystal_vibr.f90
gfortran -c hat.f90
gfortran -c lattice_space.f90
gfortran -c build_spacegroup.f90
gfortran -c bsse.f90
gfortran -c move_tip.f90
gfortran -c rotations.f90
gfortran -c eff_atom.f90
gfortran -c get_forces.f90 geL
gfortran -c move.f90
gfortran -o tetr tetr_param.o cp2k.o sym_par.o bb.o real8.o space.o working.o whereis.o vk_vibr.o tetrag1.o systema.o symgenv.o siesta.o reference.o qe.o pgroup_base.o pgroup.o mendeleev.o matrix.o lists.o buffer.o buffer0.o buffer1.o buffer_c.o buffer_index.o atom_info.o afm.o main.o applica.o lattice.o point_gr.o coulomb.o add_rem.o wyckoff_int.o kpoint_vibr.o mol_vibr.o eig_vibr.o input_tetr.o move_atoms.o get_best_ai.o change.o change_tools.o make_fcm.o tools.o tools_strings.o cluster.o permut.o orbita.o do_vibr.o do_cond.o do_irrep.o ttag.o solve_vibr.o devices.o crystal_vibr.o hat.o lattice_space.o build_spacegroup.o bsse.o move_tip.o rotations.o eff_atom.o
Undefined symbols for architecture x86_64:
"_ea_model_one_", referenced from:
_MAIN__ in main.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [APPLIC] Error 1
```
I have tried to search for this undefined symbol, no luck. BTW, the code works on other platforms and I compiled it million times on the previous mac OS. No changes have been made to the code.
Any advice you can give me?
Many thanks
Lev
Lev Kantorovich
Professor
Department of Physics
Faculty of Natural and Mathematical Sciences
King' s College London
S7.25 | Strand building | Strand | London | WC2R 2LS
+44 (0) 20 7848 2160
***@***.***
Please do not feel obliged to respond to emails outside of your core working hours
From: Anton Melnikov ***@***.***>
Date: Monday, 20 October 2025 at 16:52
To: Homebrew/discussions ***@***.***>
Cc: Lev Kantorovitch ***@***.***>, Author ***@***.***>
Subject: Re: [Homebrew/discussions] Symlink does not work on Tahoe (Discussion #6484)
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
can you run brew link wget --debug?
—
Reply to this email directly, view it on GitHub<#6484 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AL3KJUKJAKERQ3FGBZFUIO33YUAMZAVCNFSM6AAAAACJVQXVP6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINZTGEYTSMA>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew configOutput of
brew doctorDescription of issue
I have upgraded by Mac to Tahoe. Before that one everything worked. I had gfortran installed (this is the only brew I need, all the rest was installed with MacPorts). However, brew cannot symlink to various root directories, e.g.
[MacBook-Pro-3:~] lev% brew install libidn2
==> Fetching downloads for: libidn2
==> Downloading https://ghcr.io/v2/homebrew/core/libidn2/manifests/2.3.8
################################################################################################################################################################################ 100.0%
==> Fetching libidn2
==> Downloading https://ghcr.io/v2/homebrew/core/libidn2/blobs/sha256:ef2c85790a55f54f58fceb849e1ee46f2b06ebe516c83043e68c979e47934e6f
################################################################################################################################################################################ 100.0%
==> Pouring libidn2--2.3.8.sonoma.bottle.tar.gz
Error: The
brew linkstep did not complete successfullyThe formula built, but is not symlinked into /usr/local
Could not symlink share/locale/da/LC_MESSAGES/libidn2.mo
/usr/local/share/locale/da/LC_MESSAGES is not writable.
You can try again using:
brew link libidn2
=º /usr/local/Cellar/libidn2/2.3.8: 80 files, 838.3KB
==> Running
brew cleanup libidn2...Disable this behaviour by setting
HOMEBREW_NO_INSTALL_CLEANUP=1.Hide these hints with
HOMEBREW_NO_ENV_HINTS=1(seeman brew).==> Upgrading 1 dependent of upgraded formula:
Disable this behaviour by setting
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1.Hide these hints with
HOMEBREW_NO_ENV_HINTS=1(seeman brew).wget 1.16.3 -> 1.25.0
==> Fetching downloads for: wget
==> Fetching wget
==> Downloading https://ghcr.io/v2/homebrew/core/wget/blobs/sha256:5650778a8e7a60c2dea9412dd21d2f5e8ff4f224dbefbdf54924b99012062edc
################################################################################################################################################################################ 100.0%
==> Upgrading wget
1.16.3 -> 1.25.0
==> Pouring wget--1.25.0.sonoma.bottle.tar.gz
Error: The
brew linkstep did not complete successfullyThe formula built, but is not symlinked into /usr/local
Could not symlink bin/wget
Target /usr/local/bin/wget
I also tried to install gnu plot, the same problems, it finds all stuff it needs, installs gnu plot (I can execute gnuplot), but gnu plot cannot plot anything because Qt is not installed,. I run
brew install Qt
the same problem, cannot symlink to various root directions.
Beta Was this translation helpful? Give feedback.
All reactions