Skip to content

Instantly share code, notes, and snippets.

@apjanke
Created May 2, 2013 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apjanke/5503427 to your computer and use it in GitHub Desktop.
Save apjanke/5503427 to your computer and use it in GitHub Desktop.
Conflict in blast and proj installation
[@ in ~]
$ brew update
Already up-to-date.
[@ in ~]
$ brew doctor
Your system is ready to brew.
[@ in ~]
[@ in ~]
$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: 1ae4396d08b562abcde2fdddd3e6c261104a0733
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit nehalem
OS X: 10.8.3-x86_64
Xcode: 4.6.2
CLT: 4.6.0.0.1.1365549073
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.0.0-p0/bin/ruby
[@ in ~]
$ brew install proj
==> Downloading http://download.osgeo.org/proj/proj-4.8.0.tar.gz
######################################################################## 100.0%
==> Downloading http://download.osgeo.org/proj/proj-datumgrid-1.5.zip
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/proj/4.8.0
==> make install
🍺 /usr/local/Cellar/proj/4.8.0: 47 files, 5.7M, built in 25 seconds
[@ in ~]
$ brew install blast
==> Downloading ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28
######################################################################## 100.0%
######################################################################## 100.0%==> ./configure --prefix=/usr/local/Cellar/blast/2.2.28
==> make
==> make install
==> Caveats
Using the option '--with-dll' will create dynamic binaries instead of
static. The NCBI Blast static installation is approximately 7 times larger
than the dynamic.
Static binaries should be used for speed if the executable requires
fast startup time, such as if another program is frequently restarting
the blast executables.
Warning: Could not link blast. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link blast'
==> Summary
🍺 /usr/local/Cellar/blast/2.2.28: 3503 files, 768M, built in 13.1 minutes
[@ in ~]
$ brew link blast
Linking /usr/local/Cellar/blast/2.2.28... Warning: Could not link blast. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/blast/2.2.28/lib/libproj.a
Target /usr/local/lib/libproj.a already exists. You may need to delete it.
To force the link and delete this file, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name
[✘ @ in ~]
$ ls -l /usr/local/lib/libproj.a
lrwxr-xr-x 1 janke admin 34 May 2 12:11 /usr/local/lib/libproj.a -> ../Cellar/proj/4.8.0/lib/libproj.a
[@ in ~]
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment