bedGraphToBigWig: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
1
0
Entering edit mode
9 months ago
hsu ▴ 40

I try to use bedGraphToBigWig to convert bedGraph files to bigwig files.

when I use bedGraphToBigWig command, there is always an error

"bedGraphToBigWig: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory"

Then I tried "ls -ld $(locate -r libpng..so.)"

-rwxrwxrwx 1 hsdd      wang    155456 Jul 24  2019 /home/wangjincheng/.aspera/connect/lib/libpng12.so.0
lrwxrwxrwx 1 root         root          19 Nov 19  2016 /usr/lib64/libpng15.so -> libpng15.so.15.13.0
lrwxrwxrwx 1 root         root          19 Nov 19  2016 /usr/lib64/libpng15.so.15 -> libpng15.so.15.13.0
-rwxr-xr-x 1 root         root      179296 Dec 10  2015 /usr/lib64/libpng15.so.15.13.0
lrwxrwxrwx 1 root         root          11 Nov 19  2016 /usr/lib64/libpng.so -> libpng15.so

And i don't have root. I tried to install libpng12.so.0 but failed, what should I do about it?

Thank you very much !

bigwig software error bedgraph • 974 views
ADD COMMENT
0
Entering edit mode

Do you have conda on your system? If so, you can install libpng12.so.0 via conda.

ADD REPLY
0
Entering edit mode
9 months ago

try

$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/wangjincheng/.aspera/connect/lib
$ bedGraphToBigWig
ADD COMMENT

Login before adding your answer.

Traffic: 1691 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