Skip to content
Prev 10802 / 15075 Next

Library not loaded: /usr/local/lib/libquadmath.0.dylib

Dear Simon,

Thanks for the quick reply. I tried to do what you suggested:

install_name_tool -id
/Library/Frameworks/R.framework/Versions/3.1/Resources/lib/libquadmath.0.dylib
/usr/local/lib/libquadmath.0.dylib

But I got the following error messages:

error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
can't open input file: /usr/local/lib/libquadmath.0.dylib for writing
(Permission denied)
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
can't lseek to offset: 0 in file: /usr/local/lib/libquadmath.0.dylib for
writing (Bad file descriptor)
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
can't write new headers in file: /usr/local/lib/libquadmath.0.dylib (Bad
file descriptor)
error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
can't close written on input file: /usr/local/lib/libquadmath.0.dylib (Bad
file descriptor)


The first error (Permission denied) can be solved by using "sudo" I
suppose. But I am not sure what caused the other three errors. Do you
happen know what may have been the root of the errors? Thank you again.

Best,
-Xiao





On Wed, Sep 3, 2014 at 3:20 PM, Simon Urbanek <simon.urbanek at r-project.org>
wrote: