gnome-power-statistics dies with " error while loading shared libraries: libupower-glib.so.1"

Bug #1617866 reported by Gaussian on 2016-08-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Low
Unassigned

Bug Description

Using 16.04 with Unity, noticed that the battery icon does no longer give you the option to get more information with a right click. Running gnome-battery-statics from the command line gives:

gnome-power-statistics: error while loading shared libraries: libupower-glib.so.1: cannot open shared object file: No such file or directory

I have libupower-glib3 installed, which is supposed to provide libupower-glib.so

Gaussian (saku) wrote :

I found a workaround: Manually installing libupower-glib1_0.9.23-2ubuntu1_amd64.deb from 14.04 proposed fixes the problem.

Sebastien Bacher (seb128) wrote :

thank you for your bug report, that looks like a /usr/local installation issue ... what's the output of "ldd -r /usr/bin/gnome-power-statistics"?

Changed in gnome-power-manager (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Gaussian (saku) wrote :

Requested output is attached.

Sebastien Bacher (seb128) wrote :

hum, that tries to load
 libupower-glib.so.3 => /usr/lib/x86_64-linux-gnu/libupower-glib.so.3 (0x00007f1c3eb2c000)

which is correct ...

what about "$ which gnome-power-statistics"?

Gaussian (saku) wrote :

Mystery solved and apologies for the invalid bug report. There was an old gnome-power-statistics in /usr/local/bin

This laptop has been updated from 12.04 to 16.04 without skipping any intermediate steps and apparently at some point I felt the need to install gnome-power-statistics manually.

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers