JEFworks-Lab/MERINGUE

Can't install MERINGUE in WSL2

Opened this issue · 3 comments

dear @JEFworks and @bmill3r :
I tried to install MERINGUE, though I installed lapack.so and blas.so, I still failed to install MERINGUE. So now I don't know what to do, begging for your generous help, plz.
`> install.packages("~/MERINGUE-master", repos = NULL, type = "source")
Installing package into ‘/home/hxh/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)

  • installing source package ‘MERINGUE’ ...
    ** using staged installation
    ** libs
    g++ -std=gnu++14 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -o MERINGUE.so RcppExports.o functions.o -L/usr/lib/R/lib -lR
    RcppExports.o: file not recognized: file format not recognized
    collect2: error: ld returned 1 exit status
    make: *** [/usr/share/R/share/make/shlib.mk:10: MERINGUE.so] Error 1
    ERROR: compilation failed for package ‘MERINGUE’
  • removing ‘/home/hxh/R/x86_64-pc-linux-gnu-library/4.1/MERINGUE’
    Warning in install.packages :
    installation of package ‘/home/hxh/MERINGUE-master’ had non-zero exit status`

Hey, guys! I finished it! But I don't know why, and there is a warning,
** checking absolute paths in shared objects and dynamic libraries readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
seems that I need to install magic?

Hi @GODCALLMEGOD,

Is your installation of MERINGUE currently working?

Brendan

Hi @GODCALLMEGOD,

Is your installation of MERINGUE currently working?

Brendan

yes, it works, and I installed it in Windows. And I install "Rmagic", the last erorr is disappeared. Thanks for your selfless and great dedication, I love this package very much. Sorry for my late reply, best wishes to you.