Closed VPetukhov closed 6 years ago
Found error in my "segment_data.jl" script. There I used code:
Core.eval(Rmath, :(libRmath = "../lib/libRmath-julia.so"))
But correct way was to use
Core.eval(Rmath, :(libRmath = "libRmath-julia.so"))
And to add "builddir/Segmentation/lib" to LD_LIBRARY_PATH
(on both building machine and machine when I run the compiled package).
Thanks for sharing the solution!!
It looks like you're running on Linux, right? Has that solution worked for you? If so, we should add it to documentation somewhere.
@NHDaly ,
Yes, it's linux (Centos 7), and it works well.
Hi,
I'm trying to build an app, which depends on RMath package. Building script is the following:
Is creates "builddir/Segmentation/" folder, which contains "core", "res" and "lib" folders. "lib" directory contains "libRmath-julia.so" library and several others.
When I run script from "core" folder, it works well. Though, if I change path (e.g. calling it from "builddir" with
./core/segment_data
command), I get error: