Skip to content

Error: package or namespace load failed for ‘mzR’ in dyn.load(file, DLLpath = DLLpath, ...) (centos7/R 4.3.2) #287

@wangshisheng

Description

@wangshisheng

Dear sneumann,

When I installed the mzR package using "BiocManager::install("mzR")" in centos7/R 4.3.2, it gived me the error below:
...
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘mzR’
finding HTML links ... done
copyWriteMSData html
isolationWindow-methods html
metadata html
mzR-class html
finding level-2 HTML links ... done

openMSfile                              html  
peaks                                   html  
pwiz-version                            html  
writeMSData                             html  

** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘mzR’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/opt/R/4.3.2/lib/R/library/00LOCK-mzR/00new/mzR/libs/mzR.so':
/opt/R/4.3.2/lib/R/library/00LOCK-mzR/00new/mzR/libs/mzR.so: undefined symbol: _ZNK2H510H5Location13createDataSetERKSsRKNS_8DataTypeERKNS_9DataSpaceERKNS_17DSetCreatPropListERKNS_15DSetAccPropListERKNS_17LinkCreatPropListE
Error: loading failed
Execution halted
ERROR: loading failed

  • removing ‘/opt/R/4.3.2/lib/R/library/mzR’

Below is my sessioninfo:

sessionInfo()
R version 4.3.2 (2023-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblasp-r0.3.3.so; LAPACK version 3.8.0

locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

time zone: Asia/Shanghai
tzcode source: system (glibc)

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] BiocManager_1.30.22 compiler_4.3.2 tools_4.3.2

Could you give some helps about this? Thanks a lot!

Shisheng

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions