[qmtest] sigmask.so

Wichmann, Mats D mats.d.wichmann at intel.com
Tue Dec 14 02:23:03 UTC 2004


>> 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

It's really unfortunate for the hope of building portable rpm
packages that python likes to embed the version in the path.
I understand why this is so, but it's still a pain for 'binary'
(as in not-source) packages.

At least for x86_64, the path is wrong, and you can't use this
package unless you intend to also use an x86 (not x86_64) Python:
x86_64 installs to /usr/lib64/pythonX.Y 

I'm also somewhat surprised that x86_64 distributions come with
Python 2.2.3, I thought most of the "production" distros were
using Python 2.3.x

Basically it looks like "build from source" is going to be the path...

>> [root at xc7n16 root]# rpm -qa | grep qm qm-2.2-1 

This command, if it was captured verbatim and is not
just a transcripton error, is not what you wanted...




More information about the qmtest mailing list