I put the path of libR.so into LD_LIBRARY_PATH and the problem solved.

On Tuesday, October 14, 2014 4:27:22 PM UTC+2, [email protected] wrote:
>
> My julia version is 0.4.0-dev+728 and my R version is 3.1.1, compiled with 
> --enable-R-shlib. I always have below problem to use Rif. Anyone has the 
> same problem?
>
> julia> using Rif
> ERROR: could not load module 
> /home/MyName/.julia/v0.4/Rif/deps/librinterface: 
> /home/MyName/.julia/v0.4/Rif/deps/librinterface: cannot open shared object 
> file: No such file or directory
>  in dlopen at c.jl:28
>  in include at ./boot.jl:246
>  in include_from_node1 at ./loading.jl:128
>  in include at ./boot.jl:246
>  in include_from_node1 at ./loading.jl:128
>  in reload_path at loading.jl:152
>  in _require at loading.jl:67
>  in require at loading.jl:51
> while loading /home/MyName/.julia/v0.4/Rif/src/embeddedr.jl, in expression 
> starting on line 19
> while loading /home/MyName/.julia/v0.4/Rif/src/Rif.jl, in expression 
> starting on line 76
>
>

Reply via email to