You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
removing â/nz/export/ae/languages/r/3.1/host64/lib64/R/library/curlâ
Warning message:
In install.packages("/tmp/renjith/curl_0.9.3.tar.gz") :
installation of package â/tmp/renjith/curl_0.9.3.tar.gzâ had non-zero exit status
"
After this, I manually compiled the curl.so and ran ldd on it. The following is the result:
[nz@umabofanzd05h1 src]$ ldd curl.so
linux-vdso.so.1 => (0x00007fff1730c000)
libcurl.so.4 => not found
libR.so => not found
libc.so.6 => /nz/export/ae/sysroot/host64/lib64/libc.so.6 (0x00002b7b6769d000)
/lib64/ld-linux-x86-64.so.2 (0x0000003d91400000)
[nz@umabofanzd05h1 src]$ locate libcurl.so.4
/nz/export/ae/appsysroot/curl-7.44.0/lib/.libs/libcurl.so.4
/nz/export/ae/appsysroot/curl-7.44.0/lib/.libs/libcurl.so.4.4.0
/nz/export/ae/appsysroot/host64/lib64/libcurl.so.4
/nz/export/ae/appsysroot/host64/lib64/libcurl.so.4.4.0
/nz/export/ae/appsysroot/spu64/lib64/libcurl.so.4
/nz/export/ae/appsysroot/spu64/lib64/libcurl.so.4.4.0
[nz@umabofanzd05h1 src]$ locate libR.so
/nz/export/ae/languages/r/3.1/host64/lib64/R/lib/libR.so
/nz/export/ae/languages/r/3.1/spu64/lib64/R/lib/libR.so
Any idea why curl.so can't be loaded? Thanks for any help!
The text was updated successfully, but these errors were encountered:
HI, I was trying to install R package 'culr' on a RHEL machine. I got the following errors.
"* installing source package âcurlâ ...
** package âcurlâ successfully unpacked and MD5 sums checked
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/nz/export/ae/appsysroot/host64/include
Using PKG_LIBS=-L/nz/export/ae/appsysroot/host64/lib64 -lcurl
** libs
"/nz/export/ae/languages/r/3.1/host64/lib64/R/bin/Rscript" "../tools/options.R"
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c callbacks.c -o callbacks.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c curl.c -o curl.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c download.c -o download.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c escape.c -o escape.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c fetch.c -o fetch.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c form.c -o form.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c getdate.c -o getdate.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c handle.c -o handle.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c ieproxy.c -o ieproxy.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c init.c -o init.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c utils.c -o utils.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -I/nz/export/ae/languages/r/3.1/host64/lib64/R/include -DNDEBUG -I/nz/export/ae/appsysroot/host64/include -m64 -I/nz/export/ae/sysroot/host64/include -fpic -m64 -O1 -c version.c -o version.o
/nz/export/ae/sysroot/host64/bin/gcc -std=gnu99 -shared -m64 -Bdirect,--hash-style=both,-Wl,-O1 -L/nz/export/ae/core/thirdParty/intel_mkl/current/lib/em64t -L/nz/export/ae/sysroot/host64/lib64 -L/nz/export/ae/sysroot/host64/usr/lib64 -L/nz/export/ae/sysroot/host64/x86_64-rhel5-linux-gnu/lib64 -Wl,-rpath=/nz/export/ae/core/thirdParty/intel_mkl/current/lib/em64t:/nz/export/ae/sysroot/host64/lib64:/nz/export/ae/sysroot/host64/usr/lib64:/nz/export/ae/sysroot/host64/x86_64-rhel5-linux-gnu/lib64 -o curl.so callbacks.o curl.o download.o escape.o fetch.o form.o getdate.o handle.o ieproxy.o init.o utils.o version.o -L/nz/export/ae/appsysroot/host64/lib64 -lcurl -L/nz/export/ae/languages/r/3.1/host64/lib64/R/lib -lR
installing to /nz/export/ae/languages/r/3.1/host64/lib64/R/library/curl/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/nz/export/ae/languages/r/3.1/host64/lib64/R/library/curl/libs/curl.so':
libcurl.so.4: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
Warning message:
In install.packages("/tmp/renjith/curl_0.9.3.tar.gz") :
installation of package â/tmp/renjith/curl_0.9.3.tar.gzâ had non-zero exit status
"
After this, I manually compiled the curl.so and ran ldd on it. The following is the result:
[nz@umabofanzd05h1 src]$ ldd curl.so
linux-vdso.so.1 => (0x00007fff1730c000)
libcurl.so.4 => not found
libR.so => not found
libc.so.6 => /nz/export/ae/sysroot/host64/lib64/libc.so.6 (0x00002b7b6769d000)
/lib64/ld-linux-x86-64.so.2 (0x0000003d91400000)
[nz@umabofanzd05h1 src]$ locate libcurl.so.4
/nz/export/ae/appsysroot/curl-7.44.0/lib/.libs/libcurl.so.4
/nz/export/ae/appsysroot/curl-7.44.0/lib/.libs/libcurl.so.4.4.0
/nz/export/ae/appsysroot/host64/lib64/libcurl.so.4
/nz/export/ae/appsysroot/host64/lib64/libcurl.so.4.4.0
/nz/export/ae/appsysroot/spu64/lib64/libcurl.so.4
/nz/export/ae/appsysroot/spu64/lib64/libcurl.so.4.4.0
[nz@umabofanzd05h1 src]$ locate libR.so
/nz/export/ae/languages/r/3.1/host64/lib64/R/lib/libR.so
/nz/export/ae/languages/r/3.1/spu64/lib64/R/lib/libR.so
Any idea why curl.so can't be loaded? Thanks for any help!
The text was updated successfully, but these errors were encountered: