[qmtest] sigmask.so

Stefan Seefeld seefeld at sympatico.ca
Tue Dec 14 02:04:25 UTC 2004


Christians, Daniel wrote:
> Hi,
> 
> I am considering using QMTest for a test project but I am
> having a problem with finding a library file after installing 
> the rpm.   
> 
> [root]# qmtest
> Traceback (most recent call last):
>   File "/usr/bin/qmtest", line 135, in ?
>     import qm.sigmask
> ImportError: /usr/lib/python2.2/site-packages/qm/sigmask.so: cannot open
> shared object file: No such file or directory 

That is strange, as the qm-2.2-1.i386.rpm package does indeed contain sigmask.so:

bash-3.00$ rpm -qpil qm-2.2-1.i386.rpm | grep sigmask.so
/usr/lib/python2.2/site-packages/qm/sigmask.so


> [root at xc7n16 root]# rpm
> -qa | grep qm qm-2.2-1 [root at xc7n16 root]# rpm --erase qm-2.2-1
> [root at xc7n16 root]# ls -l /usr/lib/python2.2/site-packages/qm/sigmask.so
> ls: /usr/lib/python2.2/site-packages/qm/sigmask.so: No such file or
> directory [root at xc7n16 root]# ls -l /usr/lib/python2.2/site-packages/qm/
> total 12
> -rw-r--r--    1 root     root          281 Dec  6 11:38 config.pyc
> drwxr-xr-x    3 root     root         4096 Dec  6 11:39 external
> drwxr-xr-x    4 root     root         4096 Dec  6 11:39 test

right, after you erase the rpm these three items remain in the 'qm'
python package.

> We are using version 2.2.3 of python.
> 
> The systems this failed on are an Itanium and AMD opteron.

I can't comment on binary compatibility and rpm's behavior on these
machines. Can these machines run ELF 32-bit binaries compiled for
i386 ?
The fact that you managed to install the rpm seems to indicate
that they can. But may be there's some problem making rpm not
installing the extension file.

Alternatively, can you try to compile qmtest from the source package
on the target machine ?

Regards,
		Stefan




More information about the qmtest mailing list