SCM

[#6495] rgl package can't load due to libpng16.so.16: cannot open shared object file: No such file or directory

View Trackers | Bugs | Download .csv | Monitor

Date:
2017-03-15 19:34
Priority:
3
State:
Open
Submitted by:
Mark Nielsen (nielsenmarkus11)
Assigned to:
Nobody (None)
Hardware:
None
Product:
None
Operating System:
Linux
Component:
None
Version:
None
Severity:
None
Resolution:
None
 
URL:
Summary:
rgl package can't load due to libpng16.so.16: cannot open shared object file: No such file or directory

Detailed description
I can't load the rgl package because it cannot find the "optional" dependency of libpng16. I've installed libpng-devel but still am getting the same error.

> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server 7.2 (Maipo)

locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] shiny_0.13.2 htmlwidgets_0.7 magrittr_1.5 R6_2.1.2
[5] tools_3.3.2 htmltools_0.3.5 Rcpp_0.12.6 knitr_1.14
[9] jsonlite_1.0 digest_0.6.10 xtable_1.8-2 httpuv_1.3.3
[13] mime_0.5

Followup

Message
Date: 2017-03-15 19:59
Sender: Mark Nielsen

So, it worked by doing the install from source and creating a soft link to the file in /usr/lib64. I know it's a hack, but maybe rgl could look for older versions of libpng. I have libpng15 on the machine.
Date: 2017-03-15 19:51
Sender: Mark Nielsen

I tried downloading libpng16-1.6.29rc01.tar.gz and installing from source, but it puts libpng16.so.16 in /usr/local/lib/ instead of /usr/lib64/

Attached Files:

Changes:

No Changes Have Been Made to This Item

Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge