Skip to content

Instantly share code, notes, and snippets.

@yu-iskw
Last active March 2, 2018 11:37
Show Gist options
  • Save yu-iskw/284660a726750dc0a20f1be50b328b83 to your computer and use it in GitHub Desktop.
Save yu-iskw/284660a726750dc0a20f1be50b328b83 to your computer and use it in GitHub Desktop.
Error when I tried to install ipopt with brew
$ export HOMEBREW_NO_AUTO_UPDATE=1

$ brew tap homebrew/science --full

$ cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-science
$ git checkout 60f6064467f36b80dbcc91164d21acd4ca227ae4

$ brew install ipopt --with-openblas
Warning: Calling 'depends_on :fortran' is deprecated!
Use 'depends_on "gcc"' instead.
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/ipopt.rb:26:in `<class:Ipopt>'
Please report this to the homebrew/science tap!

==> Installing ipopt from homebrew/science
Warning: Calling 'depends_on :mpi' is deprecated!
Use 'depends_on "open-mpi"' instead.
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/mumps.rb:16:in `<class:Mumps>'
Please report this to the homebrew/science tap!

==> Installing dependencies for homebrew/science/ipopt: mumps
==> Installing homebrew/science/ipopt dependency: mumps
Warning: Calling 'depends_on :mpi' is deprecated!
Use 'depends_on "open-mpi"' instead.
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/mumps.rb:16:in `<class:Mumps>'
Please report this to the homebrew/science tap!

Warning: Calling 'depends_on :fortran' is deprecated!
Use 'depends_on "gcc"' instead.
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/mumps.rb:19:in `<class:Mumps>'
Please report this to the homebrew/science tap!

==> Downloading http://mumps.enseeiht.fr/MUMPS_5.1.1.tar.gz
Already downloaded: /Users/yuishikawa/Library/Caches/Homebrew/mumps-5.1.1.tar.gz
==> make alllib LIBEXT=.dylib AR= -dynamiclib -Wl,-install_name -Wl,/usr/local/Cellar/mumps/5.1.1/lib/$(notdir $@) -undefined dynamic_lookup -o  RANLIB=
Last 15 lines from /Users/yuishikawa/Library/Logs/Homebrew/mumps/01.make:
clang -fPIC -I../include -O  -c symbfac.c -o symbfac.o
clang -fPIC -I../include -O  -c interface.c -o interface.o
clang -fPIC -I../include -O  -c sort.c -o sort.o
clang -fPIC -I../include -O  -c minpriority.c -o minpriority.o
dynamiclib -Wl,-install_name -Wl,/usr/local/Cellar/mumps/5.1.1/lib/libpord.dylib -undefined dynamic_lookup -o libpord.dylib graph.o gbipart.o gbisect.o ddcreate.o ddbisect.o nestdiss.o multisector.o gelim.o bucket.o tree.o symbfac.o interface.o sort.o minpriority.o
make[2]: dynamiclib: No such file or directory
make[2]: [libpord.dylib] Error 1 (ignored)
echo libpord.dylib
libpord.dylib
if [ "./PORD/lib/" != "" ] ; then \
          cp ./PORD/lib//libpord.dylib lib/libpord.dylib; \
        fi;
cp: ./PORD/lib//libpord.dylib: No such file or directory
make[1]: *** [lib/libpord.dylib] Error 1
make: *** [c] Error 2

READ THIS: https://docs.brew.sh/Troubleshooting.html
@venkatvi
Copy link

venkatvi commented Mar 2, 2018

hi, Did you get a solution for this build error .. I am encountering the same problem and I could not find much help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment