Open somefoo opened 3 years ago
I have the same problem. In my case I solved the missing libpng12.so.0
by following this instructions.
And the missing libffi.so.6
by creating a symlink:
sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so /usr/local/lib/libffi.so.6
sudo ldconfig
Hmm, I wouldn't suggest adding symlinks like that for shared libs, this can cause pretty funny problems down the line if you forget about the existence of it. I suggest you use project-local symlinks and use LD_LIBRARY_PATH or LD_PRELOAD to ensure your system stays healthy :)
I have this issue on Ubuntu and Suse and I even have it on machines where I could compile Ultralight before, but now all of the sudden it is broken, because the newest Ultralight Release has those dependencies.
Latest SDK has some fixes that should resolve this issue.
You can grab latest bins here: https://github.com/ultralight-ux/Ultralight#getting-the-latest-sdk
There are problems when trying to compile the samples under Ubuntu 20.04 (because of old dependencies).
To reproduce:
Here is an extraction of the error: