# GROMACS installation through Homebrew error

**URL:** <https://gromacs.bioexcel.eu/t/gromacs-installation-through-homebrew-error/2131>\
**Category:** User discussions\
**Created:** [May 9, 2021, 9:21pm UTC](https://gromacs.bioexcel.eu/t/gromacs-installation-through-homebrew-error/2131 "2021-05-09T21:21:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anaeretes](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@anaeretes](https://gromacs.bioexcel.eu/u/anaeretes)\
**Post date:** [May 9, 2021, 9:21pm UTC](https://gromacs.bioexcel.eu/t/gromacs-installation-through-homebrew-error/2131/1 "2021-05-09T21:21:22Z")

</div>

GROMACS version: 2021  
GROMACS modification: No

I installed the latest version of Homebrew, through which I tried to install GROMACS (command: brew install gromacs). However, when I try to run any GROMACS command I get the following error:

dyld: Library not loaded: /usr/local/opt/gcc/lib/gcc/10/libgomp.1.dylib  
Referenced from: /usr/local/bin/gmx  
Reason: image not found

I noticed my gcc version was 11.1 and the path seemed to suggest using gcc 10, so I installed gcc 10 and changed the file paths to match the error. However, I am still getting the same message. Does anyone know a fix to this?
