Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install MERINGUE in WSL2 #22

Open
GODCALLMEGOD opened this issue Mar 17, 2024 · 3 comments
Open

Can't install MERINGUE in WSL2 #22

GODCALLMEGOD opened this issue Mar 17, 2024 · 3 comments

Comments

@GODCALLMEGOD
Copy link

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`
@GODCALLMEGOD
Copy link
Author

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?

@bmill3r
Copy link
Collaborator

bmill3r commented Mar 24, 2024

Hi @GODCALLMEGOD,

Is your installation of MERINGUE currently working?

Brendan

@GODCALLMEGOD
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants