java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_link_image(linker.cpp:1647): could not load library "libjnigraphics.so" needed by "libgif.so"; caused by find_library(linker.cpp:901): "libjnigraphics.so" failed to load previously


Samebug tips1

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


8 months ago
Expert tip

Solutions on the web1193

Solution icon of github
via GitHub by seker
, 9 months ago
Cannot load library: soinfo_link_image(linker.cpp:1647): could not load library "libjnigraphics.so" needed by "libgif.so"; caused by find_library(linker.cpp:901): "libjnigraphics.so" failed to load previously

Solution icon of web
Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libavcodec.so" needed by "libjniavcodec.so"; caused by find_library(linker.cpp:889): "libavcodec.so" failed to load previously

Solution icon of github
Cannot load library: soinfo_link_image(linker.cpp:1647): could not load library "libstlport_shared.so" needed by "libJniBitmapOperationsLib.so"; caused by load_library(linker.cpp:769): too small to be an ELF executable: libstlport_shared.so

Solution icon of github
via GitHub by sahana-tib
, 1 year ago
Cannot load library: soinfo_link_image(linker.cpp:1647): could not load library "libwebp.so" needed by "libimagepipeline.so"; caused by load_library(linker.cpp:757): library "libwebp.so" not found

Solution icon of stackoverflow
via Stack Overflow by john
, 5 months ago
Cannot load library: soinfo_link_image(linker.cpp:1647): could not load library "libc++_shared.so" needed by "libhyperloop.so"; caused by load_library(linker.cpp:757): library "libc++_shared.so" not found

Solution icon of github
via GitHub by ICECHN
, 1 year ago
Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libwebp.so" needed by "libimagepipeline.so"; caused by load_library(linker.cpp:745): library "libwebp.so" not found

Solution icon of github
Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libwebp.so" needed by "libimagepipeline.so"; caused by load_library(linker.cpp:759): library "libwebp.so" not found

Solution icon of github
Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libc++_shared.so" needed by "libtangram.so"; caused by load_library(linker.cpp:745): library "libc++_shared.so" not found

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libopencv_java.so" needed by "libjniVideoCapture.so"; caused by load_library(linker.cpp:745): library "libopencv_java.so" not found

Solution icon of stackoverflow
Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libgnustl_shared.so" needed by "libplayscape_pubkit.so"; caused by load_library(linker.cpp:745): library "libgnustl_shared.so" not found

Stack trace

java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_link_image(linker.cpp:1647): could not load library "libjnigraphics.so" needed by "libgif.so"; caused by find_library(linker.cpp:901): "libjnigraphics.so" failed to load previously
	at java.lang.Runtime.loadLibrary(Runtime.java:372)
	at java.lang.System.loadLibrary(System.java:514)
	at pl.droidsonroids.gif.GifInfoHandle.<clinit>(Unknown Source)
	at pl.droidsonroids.gif.GifDrawable.<init>(Unknown Source)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
6 times, 12 hours ago
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
276 more bugmates