I am installing libusb with brew in my Mac
brew install libusb
The linking step failed as below
Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local
Could not symlink lib/libusb-1.0.0.dylib
Target /usr/local/lib/libusb-1.0.0.dylib already exists.
You may want to remove it: rm '/usr/local/lib/libusb-1.0.0.dylib'
To force the link and overwrite all conflicting files: brew link
--overwrite libusb
So I removed the existing libusb with
sudo rm '/usr/local/lib/libusb-1.0.0.dylib'
and then did a link
brew link --overwrite libusb
The linking doesn't work, shows error below
Error: Could not symlink lib/libusb-1.0.0.dylib
/usr/local/lib is not writable.
If I try
sudo brew link --overwrite libusb
instead, that doesn't work either. What am I missing?
I am using OSX El Capitan version 10.11.4 (15E65)
brew rm libusb --force
,brew install libusb
– Mark SetchellImage Capture
squats on the scanner and needs to be killed before you can scan. Oh, I may mention smacking and killing, but I'm not really a violent person ;-) – Mark Setchellbrew rm libusb --force
,sudo brew install libusb
(wo sudo was permission denied). Seemed to work wo error. Now if I dowhich libusb
, it doesn't show anything. Does that mean libusb is still not linked? – nad