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

fs installation in AIX fails because of libuv.a being an archive containing the shared library. #403

Open
ayappanec opened this issue Jan 10, 2023 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@ayappanec
Copy link

** 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.

@ayappanec ayappanec changed the title fs installation in AIX fails because of libuv.a being a shared library. fs installation in AIX fails because of libuv.a being an archive containing the shared library. Jan 10, 2023
@gaborcsardi
Copy link
Member

Thanks! Unfortunately we cannot test AIX, but a patch is welcome.

@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants