[Bug 1170017] [NEW] nautilus-python fails to load on 64-bit systems: g_module_open libpython failed: No such file or directory

Launchpad Bug Tracker 1170017 at bugs.launchpad.net
Sun Oct 12 18:12:03 UTC 2014


You have been subscribed to a public bug by Norbert (nrbrtx):

I'm running Ubuntu 13.04 (Raring).  To see the problem, do these steps
on a 64-bit system:

1. Install the python-nautilus package.
2. Install any extension that uses nautilus-python, e.g. the rabbitvcs-nautilus package.
3. From a terminal window, run 'nautilus -q' to exit Nautilus, then run 'nautilus' to start it again.

You'll see this:

(nautilus:3810): Nautilus-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.7.so.1.0: cannot open shared object file: No such file or directory
ImportError: could not import gobject (error was: '/usr/lib/x86_64-linux-gnu/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')

(nautilus:3810): Nautilus-Python-WARNING **: pygobject initialization
failed

And of course then the extension will not work.

The problem is that nautilus-python is looking for libpython2.7.so in
/usr/lib, but on this system it lives in /usr/lib/x86_64-linux-gnu/.
The nautilus-python sources have a macro in m4/python.m4 which attempts
to detect a 64-bit library directory at build time, but it fails on
Ubuntu because it only recognizes such directories if their names end in
"lib64".

** Affects: nautilus-compare
     Importance: Undecided
         Status: New

** Affects: nautilus-python
     Importance: Medium
         Status: New

** Affects: rabbitvcs
     Importance: Unknown
         Status: Unknown

** Affects: nautilus-python (Ubuntu)
     Importance: Undecided
     Assignee: Barry Warsaw (barry)
         Status: Fix Released

** Affects: python-caja (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: nautilus-python (Ubuntu Raring)
     Importance: Undecided
         Status: Triaged

** Affects: python-caja (Ubuntu Raring)
     Importance: Undecided
         Status: Confirmed

** Affects: nautilus-python (Debian)
     Importance: Unknown
         Status: Fix Released


** Tags: patch
-- 
nautilus-python fails to load on 64-bit systems: g_module_open libpython failed: No such file or directory
https://bugs.launchpad.net/bugs/1170017
You received this bug notification because you are a member of Ubuntu MATE Developers, which is subscribed to the bug report.



More information about the Ubuntu-reviews mailing list