I'm getting this error:
/snap/figma-linux/3/figma-linux: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
When I try to run the figma-linux
command (desktop entry doesn't work, obviusly, it is trying to execute the figma-linux binary in the snapd root directory).
I checked the /lib directory items with cd /lib && ls -la | grep libpng
getting this :
lrwxrwxrwx. 1 root root 18 Jul 14 2018 libpng12.so.0 -> libpng12.so.0.57.0
-rwxr-xr-x. 1 root root 186940 Jul 14 2018 libpng12.so.0.57.0
lrwxrwxrwx. 1 root root 19 Aug 1 2018 libpng16.so.16 -> libpng16.so.16.34.0
-rwxr-xr-x. 1 root root 254516 Aug 1 2018 libpng16.so.16.34.0
I did the same in the /usr/share/lib
directory getting the same result.
I tried with both snap packages channels (beta and stable), but I'm still getting this error.
PD: RPM package installation fails (using DNF) with a file conflict with my signal-desktop package:
![Imgur](https://camo.githubusercontent.com/814271eb3a20d45d155420a3d40daa0022df8511861fd68b377a6bc9d7769ff1/68747470733a2f2f692e696d6775722e636f6d2f4c78577a4341662e706e673f31)
[Update]
Fixed installation using $ sudo rpm -i --replacefiles figma-linux-0.5.1.x86_64.rpm
to install it from the RPM package.
[Observation]
Obviously, this doesn't fix the problem with the snap package. So don't wait to get the solution with the command above.