We're trying to install Rglpk package however an error is raised and we don't have ideas how to solve it.
This is an Oracle R installation on top of Oracle Linux 6.9 (x86_64).
Appreciate your support.
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
* installing *source* package 'Rglpk' ...
** package 'Rglpk' successfully unpacked and MD5 sums checked
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
** libs
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -g -O2 -c Rglpk_error.c -o Rglpk_error.o
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -g -O2 -c Rglpk_initialize.c -o Rglpk_initialize.o
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -g -O2 -c Rglpk_read_file.c -o Rglpk_read_file.o
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -g -O2 -c Rglpk_solve.c -o Rglpk_solve.o
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -g -O2 -c init.c -o init.o
gcc -m64 -std=gnu99 -shared -L/usr/lib64/R/lib -L/usr/local/lib64 -o Rglpk.so Rglpk_error.o Rglpk_initialize.o Rglpk_read_file.o Rglpk_solve.o init.o -lglpk -L/usr/lib64/R/lib -lR
installing to /usr/lib64/R/library/Rglpk/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
converting help for package 'Rglpk'
finding HTML links ... done
Rglpk_read_file html
Rd warning: /tmp/RtmpBCIgSW/R.INSTALLcf53f4f47e8/Rglpk/man/Rglpk_read_file.Rd:43: missing file link 'simple_triplet_matrix'
Rd warning: /tmp/RtmpBCIgSW/R.INSTALLcf53f4f47e8/Rglpk/man/Rglpk_read_file.Rd:45: missing file link 'simple_triplet_matrix'
Rglpk_solve html
** building package indices
** testing if installed package can be loaded
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/lib64/R/library/Rglpk/libs/Rglpk.so':
/usr/lib64/R/library/Rglpk/libs/Rglpk.so: undefined symbol: glp_error_hook
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/usr/lib64/R/library/Rglpk'
The downloaded source packages are in
'/tmp/RtmpTg2Pdn/downloaded_packages'
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("Rglpk") :
installation of package 'Rglpk' had non-zero exit status