macOS
From Noah.org
Revision as of 19:10, 10 January 2014 by Root (talk | contribs) (Created page with 'Category: Engineering == installation of brew packages fail with "/usr/local/lib/pkgconfig is not writable." == During a step that creates symlinks you may see a message li…')
installation of brew packages fail with "/usr/local/lib/pkgconfig is not writable."
During a step that creates symlinks you may see a message like this:
Error: Could not symlink file: /usr/local/Cellar/x264/r2197.4/lib/pkgconfig/x264.pc /usr/local/lib/pkgconfig is not writable. You should change its permissions.
I'm not sure what causes this. This seems to fix it; although, I'm not sure if this is the correct ownership to set:
sudo chown -R $USER /usr/local/lib/pkgconfig