Expects to find python2.5 so, should look for python2.5.so.1
Bug #195322 reported by
Stefan Nuxoll
This bug report is a duplicate of:
Bug #44704: Expects to find libpython2.4.so, should look for libpython2.4.so.1.
Edit
Remove
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| nautilus-python |
Fix Released
|
Unknown
|
|||
| nautilus-python (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: nautilus
After toying with python-nautilus I was wondering why my extensions weren't being loaded, so I went and killall -9'ed nautilus and read the debug log (attached). After seeing "0x8177510 2008/02/24 22:12:12.6001 (GLog): g_module_open libpython failed: libpython2.5.so: cannot open shared object file: No such file or directory" I browsed /usr/lib and saw python2.5.so.1, and linked python2.5.so to it, which fixed the issue. Assuming this is a nautilus problem since python and every other python app on my system works fine.
| Changed in nautilus-python: | |
| status: | Unknown → Fix Released |
To post a comment you must log in.

I confirm the problem under a fresh install of Hardy alpha 5:
to reproduce try:
$ make dir -p ~/.nautilus/ python- extensions doc/python- nautilus/ examples/ open-terminal. py ~/.nautilus/ python- extensions/
$ cp /usr/share/
$ nautilus -q
$ nautilus
(nautilus:24678): Nautilus- Python- WARNING **: g_module_open libpython failed: /usr/lib/ libpython2. 5.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou répertoire de ce type python- support/ python2. 5/gtk-2. 0/gobject/ __init_ _.py", line 30, in <module> python- support/ python2. 5/gtk-2. 0/gobject/ constants. py", line 22, in <module> python- support/ python2. 5/gtk-2. 0/gobject/ _gobject. so: undefined symbol: _Py_ZeroStruct python2. 5/site- packages/ apport_ python_ hook.py" , line 36, in apport_excepthook python2. 5/lib-dynload/ cStringIO. so: undefined symbol: _Py_ZeroStruct
Traceback (most recent call last):
File "/var/lib/
from gobject.constants import *
File "/var/lib/
from _gobject import type_from_name
ImportError: /var/lib/
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
from cStringIO import StringIO
ImportError: /usr/lib/
Original exception was: python- support/ python2. 5/gtk-2. 0/gobject/ __init_ _.py", line 30, in <module> python- support/ python2. 5/gtk-2. 0/gobject/ constants. py", line 22, in <module> python- support/ python2. 5/gtk-2. 0/gobject/ _gobject. so: undefined symbol: _Py_ZeroStruct
Traceback (most recent call last):
File "/var/lib/
from gobject.constants import *
File "/var/lib/
from _gobject import type_from_name
ImportError: /var/lib/
(nautilus:24678): Nautilus- Python- WARNING **: could not import gobject
(nautilus:24678): Nautilus- Python- WARNING **: pygobject initialization failed
(nautilus:24678): Nautilus- Python- WARNING **: nautilus_ python_ init_python failed
seahorse nautilus module initialized
And this did not fix the problem unfortunately for me:
$ cd /usr/lib nautilus- python/ nautilus. so: undefined symbol: nautilus_ file_info_ get_vfs_ file_info
$ sudo ln -s libpython2.5.so.1.0 libpython2.5.so
$ nautilus -q
$ nautilus
ImportError: /usr/lib/
(nautilus:24701): Nautilus- Python- WARNING **: nautilus_ python_ init_python failed
seahorse nautilus module initialized
** (nautilus:24701): WARNING **: Unable to add monitor: Non pris en charge
Tell me if you need more info, I am willing to help.