Results 1 to 3 of 3

Thread: Unable to start update-manager (Python error: undefined symbol XML_SetHashSalt)

  1. #1
    Join Date
    Sep 2009
    Beans
    7

    Unable to start update-manager (Python error: undefined symbol XML_SetHashSalt)

    Hello,

    I upgraded to 12.10 recently, and am now experiencing problems with Software Updater. It flashes for a second then crashes. When I try running it from the command line (update-manager), I get the following error message:

    /usr/bin/python3: symbol lookup error: /usr/bin/python3: undefined symbol: XML_SetHashSalt

    I updated everything manually by way of apt-get update / upgrade, and I am still getting the same behavior.

  2. #2
    Join Date
    Sep 2009
    Beans
    7

    Re: Unable to start update-manager (Python error: undefined symbol XML_SetHashSalt)

    I think I found a solution to this after digging through these threads:
    https://bugzilla.redhat.com/show_bug.cgi?id=821337
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665346
    https://bbs.archlinux.org/viewtopic.php?id=140916

    It seems that this is caused by library conflicts with libexpat. I did "ldd /usr/lib/python2.7/lib-dynload/pyexpat.so" and realized that my libexpat.so.1 was pointing to /usr/local/lib/libexpat.so.1 rather than /lib/x86_64-linux-gnu/libexpat.so.1 (the former referencing an outdated version, 1.5.2 instead of 1.6.0). I don't know where the libexpat in /usr/local/lib came from.

    I hid my libexpat files in /usr/local/lib (renamed with .backup appended) and now running "ldd /usr/lib/python2.7/lib-dynload/pyexpat.so" displays the line "libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1" and update-manager works correctly.

    I don't know very much at all about python or how these library dependencies work, so it's very possible that this clumsy fix might have broken something else, but so far so good.
    Last edited by ChoneZone; January 3rd, 2013 at 05:10 PM.

  3. #3
    Join Date
    Sep 2012
    Location
    Gnome12o4/14o4
    Beans
    Hidden!

    Re: Unable to start update-manager (Python error: undefined symbol XML_SetHashSalt)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •