Closed mrose-avenuecode closed 9 years ago
follow up: i have a different machine at home and it has no problem with npm install runas
. on this one it installs just fine, no issues at all. it would be great to get some help understanding what might be the difference between the two.
Have you messed around with your linker paths perhaps? Try echo $DYLD_LIBRARY_PATH
.
As for the 10.5
bit, I'm pretty sure that refers to OS X 10.10.5, which also makes sense since you're indeed running Yosemite.
Another thing worth checking, have you updated the Xcode command line tools?
on both machines echo $DYLD_LIBRARY_PATH
returns nothing. However, the machine where it installs successfully is running 10.11 and has a freshly installed Xcode 7.1 with command line tools. The machine where it fails is running 10.10 and does have Xcode and command line tools installed, but the version of Xcode is a bit outdated, it has 6.1. I will try updated Xcode and the command line tools.
Yup, that was it. The outdated version of Xcode was the culprit. Brought Xcode up to date on my 10.10 machine and now everything installs without a hitch. Thank you for your swift and sage advice.
having trouble getting
runas
to install. here is an example session:do i unserstand this error message correctly? it is looking for a rather old library?
ld: library not found for -lgcc_s.10.5