-
Notifications
You must be signed in to change notification settings - Fork 87
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
The installation of httpuv failed with "configure: error: could not determine ar interface" on AIX7.2 #278
Comments
FWIW, the problem is with libuv. We don't have access to an AIX machine, but I suggest trying to download and build libuv 1.37.0 on your machine and see if the same thing happens. |
I already have libuv1.x compiled with cmake in /software/aixtools/libuv-1.x/build. How do I point libuv to this directory? Thanks. |
There's probably a way to point it to your already-built copy of libuv, but I don't know offhand how to do it, sorry What I'm wondering is if you are able to use What version of httpuv are you trying to install? |
One more thing: you can use
That value for Line 70 in 6f3aadf
|
The httpuv_1.5.3.1.tar.gz file is untared and I can finish ./configure and make commands successfully in httpuv/src/libuv subdirectory. Below are last few lines at the end of "make". What's the next step to install httpuv package? CC src/unix/libuv_la-aix.lo
CC src/unix/libuv_la-aix-common.lo
src/unix/aix-common.c: In function 'uv_exepath':
src/unix/aix-common.c:133:50: warning: '%s' directive output may be truncated writing up to 1022 bytes into a region of size 1021 [-Wformat-truncation=]
snprintf(trypath, sizeof(trypath) - 1, "%s/%s", token, args);
^~ ~~~~
src/unix/aix-common.c:133:7: note: 'snprintf' output 2 or more bytes (assuming 1024) into a destination of size 1022
snprintf(trypath, sizeof(trypath) - 1, "%s/%s", token, args);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CCLD libuv.la The AR config gives me the "ar" path defined in R/etc/Makeconf file R CMD config AR
/usr/ccs/bin/ar -X32_64 |
Normally you would download the tar file, then run:
But in your case, you'd want do do something like:
Assuming If running |
I tried to install httpuv package with Thanks. ** R
** demo
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'httpuv' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/software/R/site-library/00LOCK-httpuv/00new/httpuv/libs/httpuv.so':
rtld: 0712-001 Symbol uv_mutex_destroy/software/R/site-library/00LOCK-httpuv/00new/httpuv/libs/httpuv.so was referenced
from module /software/R/site-library/00LOCK-httpuv/00new/httpuv/libs/httpuv.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol uv_cond_destroy was referenced
from module /software/R/site-library/00LOCK-httpuv/00new/httpuv/libs/httpuv.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol uv_mutex_init was referenced
from module /software/R/site-library/00LOCK-httpuv/00new/httpuv/libs/httpuv.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol uv_cond_init was referenced
from module /software/R/site-library/00LOCK-httpuv/00new/httpuv/libs/httpuv.so(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol uv_buf_ini
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/software/R/site-library/httpuv' |
@wch: Can you tell me what's wrong in my last log? |
Sorry, I really don't know what the cause of the problem is. Those errors are ones I haven't seen before. |
The HTTPUV package calls some MUTEX functions such as |
Does HTTPUV have an older version that won't call MUTEX functions? |
The |
I am trying to install R packages on AIX7.2 server. The installation of httpuv failed with "configure: error: could not determine ar interface".
I have AR & RANLIB defined in my .R/Makevars and you can see they are in /usr/ccs/bin
Why it can't determine AR interface? Can you please help?
Thanks.
The text was updated successfully, but these errors were encountered: