After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 323854 - Python cannot open shared object file ldtp.so
Python cannot open shared object file ldtp.so
Status: RESOLVED INCOMPLETE
Product: LDTP
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2005-12-12 10:38 UTC by Igor Kornachev
Modified: 2006-10-01 04:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Igor Kornachev 2005-12-12 10:38:33 UTC
Traceback (most recent call last):
  • File "./gedit.py", line 27 in ?
    from ldtp import *
ImportError: libgettextpo.so.0: cannot open shared object file: No such file or
directory

There are ldtp.so and ldtptools.py files in /usr/lib/python2.3/site-packages
Gettext-tool version 1.45
On Rhel AS 4.0 and Suse10 OSes
Comment 1 Prashanth Mohan 2005-12-12 11:24:05 UTC
the debian build is for python 2.4 and not python 2.3

use "apt-get install python2.4;alias python='python2.4'"
Comment 2 Igor Kornachev 2005-12-12 12:22:38 UTC
Actualy it doesnt fix problem. 

Python 2.4.2 (#1, Dec 12 2005, 15:13:53)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ldtp
Traceback (most recent call last):
  • File "<stdin>", line 1 in ?
ImportError: libgettextpo.so.0: cannot open shared object file: No such file or
directory

Seems something wrong with module. Becouse other modules or even ldtptool.py
imports fine
Comment 3 Nagappan Alagappan 2005-12-12 12:31:27 UTC
Igor: There is no such ldtptool.py. I guess you are refering to ldtputils.py ?
If so, it doesn't depend on libgettext.so. Only ldtp module depends on
libgettext.so. Thats the reason, why get this error message.
Comment 4 Igor Kornachev 2005-12-12 12:55:39 UTC
Yes i meen ldtputils.py. Anyway other modules in /usr/lib/python2.4/site-packages
ended with .so can be imported, only ldtp not. Is it gettext problem?
Comment 5 Nagappan Alagappan 2005-12-12 13:16:58 UTC
Igor: gettext deb packages may not be installed ?

Prashanth: any comments ?
Comment 6 Prashanth Mohan 2005-12-12 13:20:07 UTC
igor.. how did u install pyldtp?

deb package? or from source?

what distro are you running?
Comment 7 Igor Kornachev 2005-12-12 13:39:21 UTC
I use CVS how discribe in Howto.
Redhat Enterprize Linux 4.0 but the same problem with Suse 10(there i use rpm)

Comment 8 Nagappan Alagappan 2005-12-12 13:48:38 UTC
Igor: I have built the suse rpm... In my setup it works fine... I have installed
all devel related packages too... maybe because of that its working.. Currently
I don't have a SuSE box without devel packages...

Following are the gettext packages I have installed in my box.

nags:~ # rpm -qa | grep gettext
gettext-devel-0.14.3-6
gettext-0.14.3-6
perl-gettext-1.05-2
Comment 9 Nagappan Alagappan 2006-03-09 05:52:59 UTC
Igor: Can you please try with latest LDTP from http://ldtp.freedesktop.org/wiki/Downloads and update this bug ?
Comment 10 André Klapper 2006-10-01 04:34:51 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information Nagappan asked for.
Thanks!