Glib could not be linked #5034
Comments
What does |
This is the output of brew doctor (how do i use quote-tags here?): ~$ brew doctor Unbrewed dylibs were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when Unexpected dylibs: Some folders in /usr/local/share/locale aren't writable.
Some folders in /usr/local/share/man aren't writable.
/usr/bin is in your PATH before Homebrew's bin. This means that system- Consider editing your .bashrc to put: Some brews install binaries to sbin instead of bin, but Homebrew's Consider editing your .bashrc to add: Some "config" scripts were found in your path, but not in system or Homebrew folders.
Having additional scripts in your path can confuse software installed via Homebrew if /Library/Frameworks/Python.framework/Versions/2.7/bin Well, yes, i have installed the MacGPG bundle, but i am sure, i am not the only one here. |
You'll need to chown /usr/local/share/locale/* back from root, at the very least, then rebrew glib |
chown to whom? Myself? chown -R? |
My /usr/local/share is owned by "adamv:staff", so I would do:
but substituting in your own username. The MacGPG package installer puts libs in /usr/local and chowns things to root; this interferes with configure/make/make install of lots of software (not just through Homebrew), so we put in a "brew doctor" warning about it. You'll probably also want to put "/usr/local/bin" ahead of "/usr/bin" in your path, unless you have a specific reason not to. |
My alias
That should solve some basic permission issue :) |
Well, i tried to install glib , and after compiling, homebrew exits and throws this error:
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
ln: ./glib20.mo: Permission denied
Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link glib'
Error: Could not create symlink /usr/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo.
Check that you have permssions on /usr/local/share/locale/zh_TW/LC_MESSAGES
brew link glib throws the last 2 lines of this error again.
Any other packages which link against glib will fail hereafter.
The text was updated successfully, but these errors were encountered: