fs installation in AIX fails because of libuv.a being an archive containing the shared library.
ayappanec opened this issue · 1 comments
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'fs' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/opt/freeware/lib64/R/library/00LOCK-fs/00new/fs/libs/fs.so':
0509-022 Cannot load module /opt/freeware/lib64/R/library/00LOCK-fs/00new/fs/libs/fs.so.
0509-150 Dependent module ./libuv-1.38.1/.libs/libuv.a(libuv.so.1) could not be loaded.
0509-022 Cannot load module ./libuv-1.38.1/.libs/libuv.a(libuv.so.1).
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module /opt/freeware/lib64/R/library/00LOCK-fs/00new/fs/libs/fs.so.
0509-150 Dependent module /opt/freeware/lib64/R/library/00LOCK-fs/00new/fs/libs/fs.so could not be loaded.
Error: loading failed
Execution halted
ERROR: loading failed
- removing '/opt/freeware/lib64/R/library/fs'
In AIX, libuv builds only shared libraries by default. So the configure requires "--enable-shared=no" in AIX and -lperfstat also needs to be passed in PKG_LIBS.
Thanks! Unfortunately we cannot test AIX, but a patch is welcome.