Closed idontgetoutmuch closed 6 years ago
Looks like the install_name is probably not set correctly.
@LnL7 I'm getting a similar error with the same package, but for libRblas.dylib
instead. I think it may be the same issue, as otool
seems to report it as relative, so I think libRblas.dylib
needs the same treatment as libR.dylib
with install_name
.
I tried
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace configure --replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib"
substituteInPlace configure --replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"
'';
but sadly it did not work. I suppose I should open a new ticket.
@GregorySchwartz: https://github.com/NixOS/nixpkgs/pull/99570
Issue description
gives
but I can see a
libR
Steps to reproduce
In more detail
gives
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the results.