Issue 290 in webp: cwebp: error while loading shared libraries: libwebp.so.6: fix

3,901 views
Skip to first unread message

kucharz.gotuje@gmail.com via Monorail

unread,
Mar 10, 2016, 4:55:47 AM3/10/16
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 290 by kucharz....@gmail.com: cwebp: error while loading shared libraries: libwebp.so.6: fix
https://bugs.chromium.org/p/webp/issues/detail?id=290

What steps will reproduce the problem?
1. After normal installation of webp libraries
2. Trying to cwebp -q 80 file.png -o file.webp
3. This error occures: cwebp: error while loading shared libraries: libwebp.so.6: cannot open shared object file: No such file or directory

What is the expected output? What do you see instead?
Expected output: webp coverted file

What version of the product are you using? On what operating system?
Ubuntu 14.04 LTS

I've fixed that using those commands:
$:sudo vim etc/ld.so.conf.d/randomLibs.conf
in file: /usr/local/lib/libwebp.so.6.0.0
$:/usr/local/lib$ sudo ldconfig

Going smooth now

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Shane Bishop

unread,
Mar 10, 2016, 12:22:19 PM3/10/16
to WebP Discussion, monorail...@chromium.org
Someone who knows better can correct me if I'm wrong, but after you've compiled webp, you can simply run this:
sudo ldconfig /usr/local/lib/

That's what I do on my systems, and it works well for me (and I'm pretty sure it says that in the instructions following a "make install".
If you didn't compile it yourself, you may want to describe what you mean by "After normal installation of the libraries" for anyone else who comes across this.

pascal.m… via monorail

unread,
Sep 6, 2016, 7:20:31 AM9/6/16
to webp-d...@webmproject.org
Updates:
Status: Done

Comment #1 on issue 290 by pascal.m...@gmail.com: cwebp: error while loading shared libraries: libwebp.so.6: fix
https://bugs.chromium.org/p/webp/issues/detail?id=290#c1

it seems to me the only needed command was 'sudo ldconfig', which went missing at some point by the package manager.

Any way, doesn't seem related to libwebp itself. Closing.
Reply all
Reply to author
Forward
0 new messages