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

undefined symbol: _ZN2v87Isolate13RunMicrotasksEv when building by R-4.2.0 under GCC-11.2.0 #146

Open
bowentan opened this issue Jul 23, 2022 · 3 comments

Comments

@bowentan
Copy link

System
Ubuntu 20.04
GCC: 11.2.0
R: 4.2.0

V8-4.2.0 threw out an error undefined symbol: _ZN2v87Isolate13RunMicrotasksEv when I installed the package in R-4.2.0 and GCC-11.2.0.

I cannot find any clue for this symbol online. Can anyone help me about that?

@jeroen
Copy link
Owner

jeroen commented Jul 23, 2022

Pls include the full install log.

@bowentan
Copy link
Author

bowentan commented Jul 24, 2022

@jeroen I used Easybuild to build V8. EC was R-4.2.0-foss-2021b.eb. The entire log is too huge (~3G) to upload here. I give the related logs below. The installation command was export CPATH=$EBROOTNODEJS/include/node:$CPATH && R CMD INSTALL /data1/apps/.local/easybuild/build/R/4.2.0/foss-2021b/V8/V8 --library=/apps/software/R/4.2.0-foss-2021b/lib/R/library --no-clean-on-error --configure-vars="INCLUDE_DIR=$CPATH LIB_DIR=$LIBRARY_PATH.

installing to /data1/apps/software/R/4.2.0-foss-2021b/lib/R/library/00LOCK-V8/00new/V8/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for V8 in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/data1/apps/software/R/4.2.0-foss-2021b/lib/R/library/00LOCK-V8/00new/V8/libs/V8.so':
  /data1/apps/software/R/4.2.0-foss-2021b/lib/R/library/00LOCK-V8/00new/V8/libs/V8.so: undefined symbol: _ZN2v87Isolate13RunMicrotasksEv
Error: loading failed
Execution halted
ERROR: loading failed

@bowentan
Copy link
Author

I found another error in the log:

ccp6lVFF.o:test.cpp:function main: error: undefined reference to 'v8::V8::Initialize()'

and I opened an issue to easybuild easybuilders/easybuild-easyconfigs#15936

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