JuliaStats / Rmath.jl

Archive of functions that emulate R's d-p-q-r functions for probability distributions
Other
16 stars 13 forks source link

Cannot build with 32-bit Julia on 64-bit linux #41

Closed simonbyrne closed 6 years ago

simonbyrne commented 7 years ago

Currently we build the relevant library for the system architecture, not the Julia architecture. Not sure what the best solution is, particularly if people want to use both side-by-side.

I guess we could include the arch in the library name, e.g. libRmath-julia-linux-i686.so and libRmath-julia-linux-x86_64.so?

cc: @ViralBShah @andreasnoack

ViralBShah commented 7 years ago

Why not just build it by default for the Julia architecture?

simonbyrne commented 7 years ago

If you're running both side-by-side?

ViralBShah commented 7 years ago

Ah. I wouldn't worry about that case until it happens. In my case, I had wrongly installed the 32-bit version. But yes, the right solution is to embed the arch name in the library.

andreasnoack commented 6 years ago

Is this fixed by #55?

ViralBShah commented 6 years ago

I would think so.