Skip to Main Content

Data Science & Machine Learning

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

undefined symbol: glp_error_hook

André Vila CovaJun 6 2017 — edited Jun 8 2017

Hi guys,

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.

Thanks

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

This post has been answered by rtiran on Jun 7 2017
Jump to Answer

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 6 2017
Added on Jun 6 2017
3 comments
652 views