Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > install.packages("nloptr", dependencies=TRUE, repos='http://cran.rstudio.com/')
- Installing package into ‘/home/ranausman/R/x86_64-pc-linux-gnu-library/3.3’
- (as ‘lib’ is unspecified)
- trying URL 'http://cran.rstudio.com/src/contrib/nloptr_1.0.4.tar.gz'
- Content type 'application/x-gzip' length 353957 bytes (345 KB)
- ==================================================
- downloaded 345 KB
- * installing *source* package ‘nloptr’ ...
- ** package ‘nloptr’ successfully unpacked and MD5 sums checked
- checking for g++... g++
- checking whether the C++ compiler works... yes
- checking for C++ compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C++ compiler... yes
- checking whether g++ accepts -g... yes
- checking how to run the C++ preprocessor... g++ -E
- checking whether we are using the GNU C++ compiler... (cached) yes
- checking whether g++ accepts -g... (cached) yes
- checking for pkg-config... no
- configure: Now testing for NLopt header file.
- checking for grep that handles long lines and -e... /bin/grep
- checking for egrep... /bin/grep -E
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking nlopt.h usability... yes
- checking nlopt.h presence... yes
- checking for nlopt.h... yes
- configure: Suitable NLopt library found.
- configure: creating ./config.status
- config.status: creating src/Makevars
- ** libs
- 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
- 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
- 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
- installing to /home/ranausman/R/x86_64-pc-linux-gnu-library/3.3/nloptr/libs
- ** R
- ** 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 '/home/ranausman/R/x86_64-pc-linux-gnu-library/3.3/nloptr/libs/nloptr.so':
- /home/ranausman/R/x86_64-pc-linux-gnu-library/3.3/nloptr/libs/nloptr.so: undefined symbol: nlopt_set_lower_bounds
- Error: loading failed
- Execution halted
- ERROR: loading failed
- * removing ‘/home/ranausman/R/x86_64-pc-linux-gnu-library/3.3/nloptr’
- Warning in install.packages :
- installation of package ‘nloptr’ had non-zero exit status
- The downloaded source packages are in
- ‘/tmp/Rtmp9cCiac/downloaded_packages’
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement