homebrew

OpenMP/gcc on macOS : gcc --without-multilib not available

允我心安 提交于 2019-12-11 14:14:41
问题 Last year I had a school project that used the OpenMP API for parallel computing. I installed gcc-6 --without-multilib with the Homebrew (brew) tool. It worked like charm. This year I had to make a new clean install of macOS High Sierra because of a software issue. Now I can't seem to install gcc without multilib with brew. When I type " brew info gcc ", I can see the different install flags, and --without-multilib in not in this list. (I tried gcc@5, @6 and @7). I tried installing gcc with

brew install python - fails OSX

久未见 提交于 2019-12-11 13:48:12
问题 Im trying to install python through brew with: brew install python But get the following error: Stevens-MacBook-Pro :: ~ ‹master*› » brew install python ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/python-2.7. Already downloaded: /Library/Caches/Homebrew/python-2.7.8_2.mountain_lion.bottle.tar.gz ==> Pouring python-2.7.8_2.mountain_lion.bottle.tar.gz ==> Caveats Setuptools and Pip have been installed. To update them pip install --upgrade setuptools pip install -

dyld: Library not loaded: /usr/local/lib/libpng.3.dylib when using php

允我心安 提交于 2019-12-11 13:38:45
问题 I am getting an error when running php : $ php -v dyld: Library not loaded: /usr/local/lib/libpng.3.dylib Referenced from: /usr/local/bin/php Reason: image not found Trace/BPT trap: 5 I read this dyld: Library not loaded: /usr/local/lib/libpng16.16.dylib with anything php related but I'm not sure if PHP was installed with brew as this command brew reinstall php55 (or anything else like brew reinstall php , brew reinstall php56 ) does not work. The next answer suggests symlinking this missing

BUG Segmentation fault ruby 2.0.0p481 (2014-05-08 revision 45883) x86_64-darwin13.2.0

那年仲夏 提交于 2019-12-11 12:48:06
问题 I receive an error when attempting to run rails s or rails c . I recently installed ruby and rails via homebrew and rbenv. When I run rails new project the app is successfully created. I then do bundle install in the appropriate directory and everything updates smoothly, when i then run rails s or rails c . The following errors come up: |14:48:23| ~ rails c /Users/jona/.rvm/gems/ruby-2.0.0-p481/gems/json-1.8.1/lib/json/ext/parser.bundle: [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08

freetds: Undefined symbols for architecture x86_64

心不动则不痛 提交于 2019-12-11 12:33:45
问题 I'm installing freetds using brew install freetds on my Mac. But I get an error like this: /bin/sh ../../../libtool --tag=CC --mode=link clang -D_THREAD_SAFE -g -O2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include -Wdeclaration-after-statement -L/usr/local/Cellar/unixodbc/2.3.2/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib -o fisql fisql.o terminal.o edit.o

homebrew

拜拜、爱过 提交于 2019-12-11 12:08:36
homebrew 是一款mac平台下软件包管理工具,拥有安装、卸载、更新、查看、搜索等很多使用工具,简单一条指令,可实现包管理。 安装: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 卸载 cd `brew --prefix` rm -rf Cellar brew prune rm `git ls-files` rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributions rm -rf .git rm -rf ~/Library/Caches/Homebrew 安装任意包 brew install <packageName> 示例 brew install node 卸载任意包 brew uninstall git 查询可用包 brew search <packageName> 查看任意包信息 brew info <packageName> 另外: 更新homebrew: brew update 查看homebrew版本: brew -v 查看homebrew帮助信息: brew -h 来源: https://www.cnblogs.com

Home Brew PHP 7.2.5 Install with cURL

☆樱花仙子☆ 提交于 2019-12-11 12:08:31
问题 I have a localhost development environment on my Mac that uses homebrew's php formula and I'm pulling my hair out trying to install with a custom path to cURL rather than the default Mac OS version (v7.54.0) that uses SecureTransport for SSL. SecureTransport causes a lot of issues with SSL requests to remote services, so OpenSSL is pretty much a requirement for my purposes. Here's the process I've taken so far: Installed curl through home brew with OpenSSL: brew install curl --with-openssl

How to symlink file using homebrew and how to delete a file

好久不见. 提交于 2019-12-11 11:57:14
问题 I installed PIL and then I installed libjpeg and I get the following errors: jpeg8-d is already installed, it's just not linked Could not symlink file: /usr/local/Cellar/jpeg/8d/bin/wrjpgcom Target /usr/local/bin/wrjpgcom already exists. You may need to delete it. To force the link and delete this file, do: brew link --overwrite formula_name 回答1: Both the problem and the solution are completely described by the error message you posted. What part of it do you not understand? Could not symlink

Error installing Homebrew

China☆狼群 提交于 2019-12-11 11:39:30
问题 I am trying to install Homebrew on my system with the command mentioned on their homepage ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" but it's giving me following error - -e:67: warning: Insecure world writable dir /usr/local in PATH, mode 040777 -e:96: warning: Insecure world writable dir /usr/local in PATH, mode 040777 It appears Homebrew is already installed. If your intent is to reinstall you should do the following before running this installer again: rm -rf /usr

Can't install PyZMP for Python — Dependencies

为君一笑 提交于 2019-12-11 09:19:57
问题 I am having trouble installing the PyZMP dependency for iPython. I have tried a number of things such as using pip/brew, but ended up installing the package manually using this answer. Now, pip list packages yields the following pyzmq (14.2.0-dev) pyzmq-static (2.2) (I have also tried using pyzmq-static). Also, my python eggs are clearly present in the proper location: ls /usr/local/lib/python2.7/site-packages/ | grep "pyzmq" pyzmq-14.2.0_dev-py2.7.egg-info pyzmq_static-2.2-py2.7.egg-info