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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


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