You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am building this using the default Mac OS X environment, .Platform$dynlib.ext is .so and so it happily finds libconnection.so and generates a full string for lib_path.
However, when I build this in a conda environment, .Platform$dynlib.ext is .dylib. This leads lib_path to being "", not finding libconnection.so and failing to load the library.
The solution that I've come up with is to replace those lines with
I've been trying to create a conda recipe to build
archive
. After much sleuthing, I tracked down an issue with Lines 2 and 9 inR/zzz.R
When I am building this using the default Mac OS X environment,
.Platform$dynlib.ext
is.so
and so it happily findslibconnection.so
and generates a full string forlib_path
.However, when I build this in a conda environment,
.Platform$dynlib.ext
is.dylib
. This leadslib_path
to being""
, not findinglibconnection.so
and failing to load the library.The solution that I've come up with is to replace those lines with
I've tested this on a Mac OS X with R (>4.1) inside and outside of conda and it works.
I wonder whether you would have any interest in a pull request making this change.
The text was updated successfully, but these errors were encountered: