Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > install.packages("nloptr", dependencies=TRUE, repos='http://cran.rstudio.com/')
  2. Installing package into ‘/home/ranausman/R/x86_64-pc-linux-gnu-library/3.3
  3. (as ‘lib’ is unspecified)
  4. trying URL 'http://cran.rstudio.com/src/contrib/nloptr_1.0.4.tar.gz'
  5. Content type 'application/x-gzip' length 353957 bytes (345 KB)
  6. ==================================================
  7. downloaded 345 KB
  8.  
  9. * installing *source* package ‘nloptr’ ...
  10. ** package ‘nloptr’ successfully unpacked and MD5 sums checked
  11. checking for g++... g++
  12. checking whether the C++ compiler works... yes
  13. checking for C++ compiler default output file name... a.out
  14. checking for suffix of executables...
  15. checking whether we are cross compiling... no
  16. checking for suffix of object files... o
  17. checking whether we are using the GNU C++ compiler... yes
  18. checking whether g++ accepts -g... yes
  19. checking how to run the C++ preprocessor... g++ -E
  20. checking whether we are using the GNU C++ compiler... (cached) yes
  21. checking whether g++ accepts -g... (cached) yes
  22. checking for pkg-config... no
  23. configure: Now testing for NLopt header file.
  24. checking for grep that handles long lines and -e... /bin/grep
  25. checking for egrep... /bin/grep -E
  26. checking for ANSI C header files... yes
  27. checking for sys/types.h... yes
  28. checking for sys/stat.h... yes
  29. checking for stdlib.h... yes
  30. checking for string.h... yes
  31. checking for memory.h... yes
  32. checking for strings.h... yes
  33. checking for inttypes.h... yes
  34. checking for stdint.h... yes
  35. checking for unistd.h... yes
  36. checking nlopt.h usability... yes
  37. checking nlopt.h presence... yes
  38. checking for nlopt.h... yes
  39. configure: Suitable NLopt library found.
  40. configure: creating ./config.status
  41. config.status: creating src/Makevars
  42. ** libs
  43. g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-6WVosl/r-base-3.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c dummy.cpp -o dummy.o
  44. gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-6WVosl/r-base-3.3.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c nloptr.c -o nloptr.o
  45. g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o nloptr.so dummy.o nloptr.o -L/usr/lib/R/lib -lR
  46. installing to /home/ranausman/R/x86_64-pc-linux-gnu-library/3.3/nloptr/libs
  47. ** R
  48. ** inst
  49. ** preparing package for lazy loading
  50. ** help
  51. *** installing help indices
  52. ** building package indices
  53. ** installing vignettes
  54. ** testing if installed package can be loaded
  55. Error in dyn.load(file, DLLpath = DLLpath, ...) :
  56.   unable to load shared object '/home/ranausman/R/x86_64-pc-linux-gnu-library/3.3/nloptr/libs/nloptr.so':
  57.   /home/ranausman/R/x86_64-pc-linux-gnu-library/3.3/nloptr/libs/nloptr.so: undefined symbol: nlopt_set_lower_bounds
  58. Error: loading failed
  59. Execution halted
  60. ERROR: loading failed
  61. * removing ‘/home/ranausman/R/x86_64-pc-linux-gnu-library/3.3/nloptr’
  62. Warning in install.packages :
  63.   installation of package ‘nloptr’ had non-zero exit status
  64.  
  65. The downloaded source packages are in
  66.     ‘/tmp/Rtmp9cCiac/downloaded_packages’
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement