-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change min R version required to be one that has SuiteSparse 7 #224
Comments
In fact, on Ubuntu It seems that the issue is that R sets its
Probably any library installed in these paths will shadow a julia library of the same name.
|
Setting alias julia='LD_LIBRARY_PATH=" " julia' seems to have solved the problem. But how can I set this configuration in VSCODE? It would be great if anyone can inform me. |
This idea works but it creates problems when R tries to use the slightly different libraries bundled with julia instead of it's own. >options(help_type='html')
>?julia_source
starting httpd help server ...Error in startDynamicHelp(TRUE) : internet routines cannot be loaded
In addition: Warning message:
In startDynamicHelp(TRUE) :
unable to load shared object '/usr/lib/R/modules//internet.so':
/home/aavogt/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/lib/julia/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib/R/modules//internet.so) |
There is no real easy workaround here. SuiteSparseConfig went through some changes in the transition from SS 5 to 7. I think we should just bump the min version of R required that has SS 7. |
I am trying to install JuliaCall with R 4.1.2 and julia 1.10.0. Unfortunately the installation fails due to
SuiteSparse
.R (on Ubuntu 22.04) uses suite sparse config version 5.10 however (
/usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so.5
) however julia 1.10 is bundeld with version 7.2.1 (<julia-installation>/lib/julia/libsuitesparseconfig.so.7.2.1
).This produces the following error:
In the past, I could resolve similar issues by setting LD_PRELOAD or LD_LIBRARY_PATH forcing the loading of the newer library, for example:
export LD_PRELOAD=/mnt/data1/abarth/opt/julia-1.10.0/lib/julia/libsuitesparseconfig.so.7.2.1
before starting R. But I get the same error as above (
/usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so.5: undefined symbol: SuiteSparse_config_malloc_func_set
).I don't have these issues with julia 1.6.2 as both use the same version of this library.
Any ideas how this issue can be resolved (besides rebuilding R with the same libraries as Julia)?
Thank you very much for this nice package and your efforts to bridge the R and Julia communities 😀
Session Info
The text was updated successfully, but these errors were encountered: