Cannot install GAGE (and its dependencies): libpng16.so.16 not found
0
0
Entering edit mode
user31888 ▴ 30
@user31888-9209
Last seen 5.2 years ago
United States

I am following the GAGE workflow (here), but cannot install GAGE and its dependencies ('png' and  'KEGGREST').

During installation, R tests if installed packages can be loaded which leads to this error message:

Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object '/home/usr/R/x86_64-pc-linux-gnu-library/3.2/png/libs/png.so':
  libpng16.so.16: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed

So I installed libpng-1.6.19 from source;

$ ./configure --prefix=/usr/bin/libpng/
# /usr/bin/ being a $PATH directory
$ make
$ make install

Now I have '/usr/bin/libpng/lib/libpng16.so.16', but still impossible to install 'gage', 'png' or 'KEGGREST' (same error message).

(1) Anyone could tell me what I am doing wrong?!!!

(2) Do the binaries 'libpng16-config', 'png-fix-itxt' and 'pngfix' (located under /usr/bin/libpng/bin') need to be moved somewhere?

Note: I also tried to move 'libpng16.so.16' (which is a link) to my $PATH directory '/usr/bin' but still the same.

GAGE libpn • 2.2k views
ADD COMMENT

Login before adding your answer.

Traffic: 704 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6