You are not logged in.

#1 2018-01-23 03:54:47

ghson2017
Member
Registered: 2017-05-21
Posts: 4

cannot open shared object file: No such file or directory

Hi, I faced a problem and tried hard to solve this on my own for few days, but my effort wasn't enough.

One day, I found 'lxmusic' doesn't work and console show me this.

xmms2-launcher: startup of xmms2d failed!
Connection failed: xmms2d is not running.

So, I thought xmms-launcher -v will help me. And log output saved at /home/ghson2017/.cache/xmms2/xmms2d.log. This is result

--- Starting new xmms2d ---
INFO in core: ../src/xmms/log.c:50: Initialized logging system smile
12:39:37  INFO in core: ../src/xmms/ipc.c:981: IPC listening on 'unix:///tmp/xmms-ipc-ghson2017'.
12:39:37 ERROR in core: ../src/xmms/plugin.c:388: Failed to open plugin /usr/lib/xmms2/libxmms_ao.so: libao.so.4: cannot open shared object file: No such file or directory
12:39:37 ERROR in core: ../src/xmms/plugin.c:388: Failed to open plugin /usr/lib/xmms2/libxmms_mpg123.so: libmpg123.so.0: cannot open shared object file: No such file or directory
12:39:37 ERROR in core: ../src/xmms/plugin.c:388: Failed to open plugin /usr/lib/xmms2/libxmms_fluidsynth.so: libfluidsynth.so.1: cannot open shared object file: No such file or directory
12:39:37 ERROR in core: ../src/xmms/plugin.c:388: Failed to open plugin /usr/lib/xmms2/libxmms_mac.so: libmac.so.2: cannot open shared object file: No such file or directory
12:39:37 ERROR in core: ../src/xmms/plugin.c:326: Setup function failed for plugin 'DAAP access plugin'!
12:39:37  FAIL in core: xmms_object_unref: assertion 'obj && XMMS_IS_OBJECT (obj)' failed
12:39:37 ERROR in core: ../src/xmms/plugin.c:388: Failed to open plugin /usr/lib/xmms2/libxmms_cdda.so: libcdio_cdda.so.2: cannot open shared object file: No such file or directory
12:39:37 ERROR in core: ../src/xmms/plugin.c:388: Failed to open plugin /usr/lib/xmms2/libxmms_samba.so: libsmbclient.so.0: cannot open shared object file: No such file or directory
12:39:37  INFO in core: ../src/xmms/medialib.c:204: Attempting to migrate database to new format.
Could not upgrade sqlite database to latest version
12:39:37 FATAL in core: ../src/xmms/medialib.c:207: Could not run "sqlite2s4 /home/ghson2017/.config/xmms2/medialib.s4 /home/ghson2017/.config/xmms2/medialib.s4 /home/ghson2017/.config/xmms2/collections/${uuid}", try to run it manually


And I tryied another command like 'grive' and the result was...

grive: error while loading shared libraries: libjson-c.so.2: cannot open shared object file: No such file or directory


Also 'gimp'...

/usr/lib/gimp/2.0/plug-ins/file-pdf-load: error while loading shared libraries: libpoppler-glib.so.8: cannot open shared object file: No such file or directory

I'm not sure but error message 'cannot open shared object file: No such file or directory' was common.

I googled and found 'sudo /sbin/ldconfig -v' will work but in my case doesn't work.

Can you guys give some advice for newbie?

Last edited by ghson2017 (2018-01-23 04:01:20)

Offline

#2 2018-01-23 04:09:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,145

Re: cannot open shared object file: No such file or directory

Most of the "No such file or directory" errors you're seeing is because of optional deps for plugins. If you want those plugins, you have to install the optional deps that pacman told you about when you installed the software.

"grive" is not in the repos. I'm going to assume you built it from the AUR or elsewhere, so it's your responsibility to rebuild it when necessary.

Offline

#3 2018-01-23 07:49:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,331

Re: cannot open shared object file: No such file or directory

And from your other thread it seems that you might be running partial updates here and there, don't do that: https://wiki.archlinux.org/index.php/Sy … nsupported

Offline

Board footer

Powered by FluxBB