Comments (10)
@giordano is usually the one most familiar with this sort of thing. I am sure this is an Rmath_jll
issue.
We stopped shipping libRmath a long time ago as part of Julia. So you have to look for it in .julia/artifacts
, IIRC.
from rmath.jl.
Triggering a new build on Yggdrasil - since it is possible the jll was just too old and last built in Nov. The platform list is still the same, but let's see if the new build resolves the issue.
from rmath.jl.
Hi Viral, thanks -- thought I should post since 1.5 is in beta and could maybe help avoid bigger issues later. I tried again here and see that Rmath_jll moved up from v0.2.2+0
to v0.2.2+1
, however, the same error message remains unfortunately:
(@1.5) pkg> add Rmath
(@1.5) pkg> build Rmath
(@1.5) pkg> test Rmath
ERROR: LoadError: InitError: could not load library "libRmath-julia.so"
Error loading shared library libRmath-julia.so: No such file or directory
Stacktrace:
[1] __init__() at /home/dehann/.julia/packages/Rmath/lo1Ao/src/Rmath.jl:37
[2] _include_from_serialized at ./loading.jl:697
[3] _require_from_serialized at ./loading.jl:749
[4] _require at ./loading.jl:1040
[5] require at ./loading.jl:928
[6] require at ./loading.jl:923
[7] include at ./client.jl:457
[8] top-level scope at none:6
during initialization of module Rmath
in expression starting at /home/dehann/.julia/packages/Rmath/lo1Ao/test/runtests.jl:1
ERROR: Package Rmath errored during testing
I'm not directly using Rmath, but some of the dependencies higher up do which is how I happened upon the issue. I'll try and see if I can learn more and will post if I find anything useful. For example the same error is happening with Gadfly.jl:
(@1.5) pkg> add Gadfly
(@1.5) pkg> test Gadfly
...
ERROR: LoadError: LoadError: InitError: could not load library "libRmath-julia.so"
Error loading shared library libRmath-julia.so: No such file or directory
...
from rmath.jl.
We may have problems with loading some libraries with Musl in general, I can reproduce this issue also with other libraries, but not all of them.
from rmath.jl.
I opened in issue in Julia: JuliaLang/julia#36458 TLDR: when ccall
ing a function, Julia can't find the library even if it's already open.
from rmath.jl.
Oh great, thanks!
from rmath.jl.
This is still an issue even on Julia master, where the ccall
issue was fixed. It seems like these calls are the culprit:
Lines 37 to 42 in aa1388f
I'll investigate to see if it can be trivially fixed.
from rmath.jl.
Rmath_jll probably just needs a new Yggdrasil build to use the changes to JLLWrappers. @giordano or @ViralBShah would one of you be able to do this?
from rmath.jl.
Confirmed, I can fix this and pass tests by changing all references to Rmath_jll.libRmath
to Rmath_jll.libRmath_path
(which is non-const).
from rmath.jl.
from rmath.jl.
Related Issues (20)
- Cannot build with 32-bit Julia on 64-bit linux HOT 5
- Can not build on Ubuntu 16.04 64x HOT 2
- Issue intalling Rmath -- "nmath.h" not found" HOT 1
- Cannot build Rmath - could not create SSL/TLS secure channel HOT 2
- Problem building Rmath on macOS HOT 2
- Fix warnings in Julia v0.7 HOT 2
- Pkg not building in mac HOT 1
- Missing make, gcc dependencies HOT 3
- setSeed() function required for R's random number generator HOT 1
- Warning when using Distributions package HOT 4
- Package compatibility caps
- build uses deprecated API of BinaryProvider
- make build fails with below error HOT 1
- TagBot trigger issue HOT 2
- Rmath jll for Apple Silicon needed HOT 2
- GPL/MIT licensing issue HOT 6
- `qpois` can return non-integral values on some platforms HOT 4
- Precompiling Rmath error HOT 6
- `qbinom` gives incorrect answers at very small values HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmath.jl.