Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MPD fails to start: libavformat-ffmpeg issue?

Featured Replies

Hello,

I made a fresh install of Ubuntu 16.04 lts (ARMBIAN) on armhf cubietruck (Armbian_5.20_Cubietruck_Ubuntu_xenial_3.4.112) .

libav-tools is installed along with MPD & MPC.

service mpd status reports:
"mpd[6770]: /usr/bin/mpd: error while loading shared libraries: libavformat-ffmpeg.so.56: cannot open shared object file: No such file or directory"

What is missing to start MPD?

Best regards,

Martin

Solved by martin-by

  • Author

Hi,

 

I tested a MPD install on Armbian_5.20_Cubietruck_Ubuntu_xenial_4.7.3:

 

  • apt update
  • apt upgrade
  • apt install mpd mpc

It is the same issue:

 

â— mpd.service - Music Player Daemon
   Loaded: loaded (/lib/systemd/system/mpd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2016-10-03 15:21:29 UTC; 2min 32s ago
 Main PID: 11289 (code=exited, status=127)
Oct 03 15:21:29 cubietruck systemd[1]: Started Music Player Daemon.
Oct 03 15:21:29 cubietruck mpd[11289]: /usr/bin/mpd: error while loading shared libraries: libavformat-ffmpeg.so.56: cannot open shared object file: No such file or directory
Oct 03 15:21:29 cubietruck systemd[1]: mpd.service: Main process exited, code=exited, status=127/n/a
Oct 03 15:21:29 cubietruck systemd[1]: mpd.service: Unit entered failed state.
Oct 03 15:21:29 cubietruck systemd[1]: mpd.service: Failed with result 'exit-code'.

 

Any tip to fix this?

 

Best regards,

 

Martin

  • Author
  • Solution

Hello,

 

today I made a upgrade & dist-upgrade, it seems MPD & MINIDLNA starts the service now.

 

Thank you!

 

Remark:

but mounting a HDD partition in fstab fails and after boot the system hangs. My entry in fstab from old config is:

UUID=638a7add-21ee-4cf7-8c1e-095c4ae727ff /mnt/HDD ext4 user,sync 0 0

 

Any hint for this?

 

 

UPDATE:

after falling back to my backup I realized the root of permanent reboot:

 

Installed software after update & dist-upgrade :

  • WEBMIN, MPD, MINIDLNA (proper reboot of system)
  • apt install cups: no reboot any more (reboot within minutes)

 

Are there any other problems within package?

 

UPDATE2:

​OK, my fault. After installing my SSD for root device (deactivating tempfs & swap within fstab also) CUPS can be installed easily without any problems.

 

 

Best regards,

 

Martin

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.