gparted does not start, crashes with library symbol lookup error

Bug #1509729 reported by Charles Green
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

in terminal, "sudo gparted" returns

/usr/sbin/gpartedbin: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1: undefined symbol: _ZN4Glib11VariantTypeD1Ev

Description: Ubuntu 15.10
Release: 15.10

  Installed: 0.19.0-3build1
  Candidate: 0.19.0-3build1
  Version table:
 *** 0.19.0-3build1 0
        500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gparted (Ubuntu):
status: New → Confirmed
Revision history for this message
Maverick M (maverick-moos) wrote :

I see the same issue when launching sudo gparted, however I also see the same error when launching "gnome-system-monitor"

gnome-system-monitor: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1: undefined symbol: _ZN4Glib11VariantTypeD1Ev

Revision history for this message
Jerry A McMannamy Jr (jam707) wrote :

I also get this with System Monitor and mysql workbench.

jr@jr:~$ sudo mysql-workbench
/usr/lib/mysql-workbench/mysql-workbench-bin: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1: undefined symbol: _ZN4Glib11VariantTypeD1Ev
jr@jr:~$ sudo gnome-system-monitor
gnome-system-monitor: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1: undefined symbol: _ZN4Glib11VariantTypeD1Ev

Revision history for this message
Charles Green (chick) wrote :

I have resolved my issue: I had added a file /etc/ld.so.conf.d/LD_LIBRARY_PATH.conf containing the line /usr/lib/vmware/lib/libglibmm-2.4.so.1

The purpose of this file was to force loading of a vmware library: This library apparently interferes with the operation of Ubuntu in several instances.

Revision history for this message
rollmetal (rdiazgonz) wrote :

The problem exist in other application as gnote

roll@cs5:~$ gnote
gnote: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1: undefined symbol: _ZN4Glib11VariantTypeD1Ev

Maybe there should be some fix for all these problems.

Revision history for this message
aykut ozaydemir (xangoch) wrote :

The problem exist in grub-customizer

Revision history for this message
trinkity (trinkity) wrote :

The problem exist also in rawtherapee
@charles Green
 i've the same file /etc/ld.so.conf.d/LD_LIBRARY_PATH.conf containing the line /usr/lib/vmware/lib/libglibmm-2.4.so.1
i confirm this.
After delete the path into LD_LIBRARY_PATH.conf and execute the command $ sudo ldconfig all works !
But now or work with vmware or work with the others programs

Revision history for this message
trinkity (trinkity) wrote :

solved for me.
i Deleted into LD_LIBRARY_PATH.conf the line the line /usr/lib/vmware/lib/libglibmm-2.4.so.1
and executing sudo nano /usr/bin/vmware after adding the line

export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1

now works all

Revision history for this message
Charles Green (chick) wrote : Re: [Bug 1509729] Re: gparted does not start, crashes with library symbol lookup error

Easy solution for vmware and vmware player:

The file /usr/bin/vmware is a wrapper for the binary files: Edit
/usr/bin/vmware (or /usr/bin/vmplayer) and add the line

export
LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1/:$LD_LIBRARY_PATH

to the file, somewhere in the vicinity fo the line which says 'set -e'.
Save the file, and you're good to go.

On 11/01/2015 11:44 AM, trinkity wrote:
> The problem exist also in rawtherapee
> @charles Green
> i've the same file /etc/ld.so.conf.d/LD_LIBRARY_PATH.conf containing the line /usr/lib/vmware/lib/libglibmm-2.4.so.1
> i confirm this.
> After delete the path into LD_LIBRARY_PATH.conf and execute the command $ sudo ldconfig all works !
> But now or work with vmware or work with the others programs
>

Revision history for this message
Phillip Susi (psusi) wrote :

Closing since the bug is in vmware.

Changed in gparted (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
joseph hawkins (djh1997) wrote :

that fix hasnt worked for me

Revision history for this message
Phillip Susi (psusi) wrote :

Try reinstalling the library:

sudo apt-get install --reinstall libgtkmm-2.4-1v5

Revision history for this message
Michael Fox (mfox-trentu) wrote :

I am running Ubuntu 15.10, and I have the same problem with gparted. Unfortunately, neither adding the line:

export
LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1/:$LD_LIBRARY_PATH

to /usr/bin/vmplayer, nor reinstalling libgtkmm-2.4.1v5 has solved the problem.

Revision history for this message
Michael Fox (mfox-trentu) wrote :

A variant of trinkity's solution finally worked for me:

I deleted LD_LIBRARY_PATH.conf file in /etc/ld.so.conf.d

and then executed the command $ sudo ldconfig

This worked, and VMware Player still seems to work as well.

I had tried altering the contents of that file before, but I may not have reconfigured ld before checking, and that may have been the problem.

Revision history for this message
Jani Markkula (jani-markkula) wrote :

Michael Fox, That worked for me. Thanks!

Revision history for this message
donc3 (christianponceruiz) wrote :

Michael Fox, for me worked too!!! Thanks guy

Revision history for this message
vedavata (vedavrata) wrote :
Revision history for this message
Chris Crisafulli (itnet7) wrote :

I also removed the LD_LIBRARY_PATH.conf file in /etc/ld.so.conf.d, and ran ldconfig, but my VMware Workstation which required me to add that entry now continued to fail. I did an update to VMWare Workstation Pro, and when complete, removed the LD_LIBRARY_PATH.conf file. This time after running ldconfig everything is now working.

Revision history for this message
Diomedes (diomedes-dominguez) wrote :

Michael Fox, that worked for me too. Thanks.
Community, I make the mistake of creating a "backup" file named "LD_LIBRARY_PATH_old.conf" and them execute sudo ldconfig. To solve the problem there must not exist any file with the name LD_LIBRARY_PATH.

Revision history for this message
Mehran Hadidi (cruelcap) wrote :

Michael Fox, That worked for me. Thank you mate. it would be great if you could explain what the hell happened & what did that lib do. thank you buddy.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.