GNOME Bugzilla – Bug 323854
Python cannot open shared object file ldtp.so
Last modified: 2006-10-01 04:34:51 UTC
Traceback (most recent call last):
+ Trace 64556
from ldtp import *
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
the debian build is for python 2.4 and not python 2.3 use "apt-get install python2.4;alias python='python2.4'"
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):
+ Trace 64560
directory Seems something wrong with module. Becouse other modules or even ldtptool.py imports fine
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.
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?
Igor: gettext deb packages may not be installed ? Prashanth: any comments ?
igor.. how did u install pyldtp? deb package? or from source? what distro are you running?
I use CVS how discribe in Howto. Redhat Enterprize Linux 4.0 but the same problem with Suse 10(there i use rpm)
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
Igor: Can you please try with latest LDTP from http://ldtp.freedesktop.org/wiki/Downloads and update this bug ?
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!