Settings slows to a crawl with upower error in logs

Hey folks, I'm getting the following error in my logs. It's causing certain system apps (like settings) to be extremely slow:

Feb 12 06:03:36 mcrowe-XPS-15-9560 upowerd[17804]: /usr/lib/upower/upowerd: error while loading shared libraries: libimobiledevice.so.6: cannot open shared object file: No such file or directory
Feb 12 06:03:36 mcrowe-XPS-15-9560 systemd[1]: upower.service: Main process exited, code=exited, status=127/n/a
Feb 12 06:03:36 mcrowe-XPS-15-9560 systemd[1]: upower.service: Failed with result 'exit-code'.
Feb 12 06:03:36 mcrowe-XPS-15-9560 systemd[1]: Failed to start Daemon for power management.
Feb 12 06:03:36 mcrowe-XPS-15-9560 systemd[1]: upower.service: Scheduled restart job, restart counter is at 2.
Feb 12 06:03:36 mcrowe-XPS-15-9560 systemd[1]: Stopped Daemon for power management.
Feb 12 06:03:36 mcrowe-XPS-15-9560 systemd[1]: Starting Daemon for power management...

Looks like the library has upgraded?

 130 ❯ find /usr -name 'libimobiledevice*'
/usr/share/doc/libimobiledevice6
/usr/lib/x86_64-linux-gnu/libimobiledevice-1.0.so.6
/usr/lib/x86_64-linux-gnu/libimobiledevice-1.0.so.6.0.0

I've tried the following:

sudo apt install libimobiledevice6 upower --reinstall

but that doesn't solve the problem. Suggestions?

OK, here's the solution:

❯ cd /usr/lib/x86_64-linux-gnu/
 /usr/lib/x86_64-linux-gnu                                                                                                                                                                        06:12:55  mcrowe-XPS-15-9560@mcrowe 
❯ sudo ln -s libimobiledevice-1.0.so.6 libimobiledevice.so.6
 /usr/lib/x86_64-linux-gnu                                                                                                                                                                        06:13:08  mcrowe-XPS-15-9560@mcrowe 
❯ sudo ldconfig

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.