Warning: You have uncommitted modifications to Homebrew
If this a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
cd /usr/local/Library && git stash && git clean -d -f
Did you intentionally make changes to Homebrew's core code?
cd /usr/local/Library && git stash && git clean -d -f
No local changes to save
Removing Formula/gcc48.rb
Removing Formula/parallel-netcdf.rb
Removing Homebrew/gcc48.rb
Those are the only changes. This should not affect the issue.
I am not able to install graphviz using 'brew install --env=std graphviz
Post downloading and patching, I get following error -
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL
-I. -I. -Ilibltdl -I./libltdl -I./libltdl -F/usr/local/Frameworks -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.8 -c slist.c -o libltdlc_la-slist.o >/dev/null 2>&1
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -F/usr/local/Frameworks -Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.8 -c ltdl.c -o libltdlc_la-ltdl.o >/dev/null 2>&1
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
I started installing it as per site recommendation because I was getting error during svn install. It was bailing out on libtool.
12:12[][] ~> brew install svn
==> Installing subversion dependency: libtool
==> Downloading http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/libtool-2.4.2.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libtool/2.4.2 --program-prefix=g --enable-ltdl-install
==> make install
/usr/bin/make install-recursive
make[2]: *** No rule to make target libltdl/argzaditya.lo', needed by
libltdl/libltdl.la'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
I also get ld: library not found for -ltclstub8.6
For now I just did the following (works for me):
sudo ln -s /usr/lib/libtclstub8.5.a /usr/lib/libtclstub8.6.a
On 10.9 (but I don't think it is Mavericks related) this is solved by symlinking to command line tools' /usr/lib:
sudo ln -s /usr/lib/libtclstub8.5.a /Library/Developer/CommandLineTools/usr/lib/
I've had this issue compiling MacPorts that was specifying the correct path for libtclstub8.5 with -L. I even added -L/usr/lib, but it always failed until doing the symlink above.
Hi, I am having the same problem as jamespjh.
Installing graphviz via
brew install --env=std graphviz
results in
ld: library not found for -ltclstub8.6
Here is the content of my log file logfile
brew doctor >logfile 2>&1 && brew --config >>logfile 2>&1 && brew install --env=std graphviz -v >> logfile 2>&1
https://gist.github.com/bjrnfrdnnd/6686976
Here is the /Users/bn/Library/Logs/Homebrew/graphviz/config.log
https://gist.github.com/bjrnfrdnnd/6687232
How do I know if I have an unbrewed Tcl?
By the way, I would like to file a ticket for not being able to brew openblas
It is unclear to me how I should proceed.
brew info openblas
says:
penblas: stable 0.2.6, HEAD
http://xianyi.github.io/OpenBLAS/
but there is no xianyi repository connected to homebrew as far as I know.
https://github.com/mxcl/homebrew/wiki/Troubleshooting
has a link to a ticket creation, but it also says that I have to create a ticket in another repositories if my formula belongs to them. It does not say how I find out to which repository belongs my failing formula, and it does not say how to create a ticket in another repository.
configure:13510: checking for tclsh8.6
configure:13528: found /usr/local/bin/tclsh8.6
configure:13540: result: /usr/local/bin/tclsh8.6
Does appear to be a tcl 8.6 installed possibly through homebrew, possibly elsewhere.
ls -ialht /usr/local/bin/tclsh8.6
4174146 -rwxr-xr-x 1 root wheel 13K 30 Mar 01:35 /usr/local/bin/tclsh8.6
Running this gives:
tclsh8.6
dyld: Library not loaded: /usr/local/lib/libtcl8.6.dylib
Referenced from: /usr/local/bin/tclsh8.6
Reason: image not found
Trace/BPT trap: 5
I do not remember having installed anything.
There is no libtcl.... connected to this thing.
I moved it away.
Here is the result of
brew doctor >logfile 2>&1 && brew --config >>logfile 2>&1 && brew install --env=std graphviz -v >> logfile 2>&1
https://gist.github.com/bjrnfrdnnd/6688065
Here is the content of
/Users/bn/Library/Logs/Homebrew/graphviz/config.log
https://gist.github.com/bjrnfrdnnd/6688107
For the openblas thing: is there a way to find out to which repository it belongs to?
And how do I create a ticket for homebrew-science?
Looking at config.log, you still have leftovers of tcl:
configure:13510: checking for tclsh8.6
configure:13543: result: no
configure:13510: checking for tclsh8.5
configure:13528: found /usr/bin/tclsh8.5
configure:13540: result: /usr/bin/tclsh8.5
configure:23808: checking for tcl.h
configure:23808: result: yes
configure:23838: result: using /usr/lib/tclConfig.sh
configure:23950: checking for wish8.6
configure:23968: found /usr/local/bin/wish8.6
configure:23980: result: /usr/local/bin/wish8.6
configure:24018: result: using tk headers from -I/usr/local/include
@bjrnfrdnnd if brew info
doesn't show which tap a formula comes from, that's a bug and I should fix info. To open a bug, just go to the Issues list in that other repo and open a ticket, same as here.
https://github.com/Homebrew/homebrew-science/issues?direction=desc&sort=created&state=open
I do not know how I can see the leftovers from these snippets.
There is a wish8.6 showing up, is this what you mean?
Or do you mean the tk thing?
I notice the install chokes on not finding
ld: library not found for -ltkstub8.6
Which, in fact, does not exist. I just fail to see how the install script figures out that it should use this non-existing library.
I don't know what to suggest to the original poster here other than to brew update
and try again, posting new troubleshooting information.
The other issues in this thread, having non-brewed Tcl and using pre-release 10.9 are unrelated.
We've made several fixes to Homebrew since this ticket was originally opened, though I don't know if any of them affect this ticket substantially.
But would suggest brew update
and reposting troubleshooting information.
Please also review #22767.