Csources not found

Bug #731937 reported by Richie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ImageP
Fix Released
Medium
Tomio

Bug Description

I am running an Ubuntu 10.04 64bit system, with Python 2.6.5 and ImageP 2.9.2.
After installing and sucessfully compiling the C sources, upon calling 'import ImageP' within Python, I would get the C sources not loaded message.

copying libCsources.so from:

/usr/lib/python2.6/dist-packages/ImageP/libCsources.so
to:
/usr/local/lib/python2.6/dist-packages/ImageP/libCsources.so

fixed the problem and now the Csources are working correctly

Revision history for this message
Tomio (tomio2009) wrote :

Thanks for reporting. I have to test this further, I could not yeat reproduce the bug.

Normally, when running python setup.py install one should see a message indicating the copying of the libCsources.so.

The suggested fix: copying by hand always helps, but on Linux it should not be necessary.

Changed in imagep:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Tomio (tomio2009)
Revision history for this message
Tomio (tomio2009) wrote :

O.k., confirmed.
The actual Ubuntu has split packages to /usr/loca/lib/python..../dist-packages and the original place in /usr/lib/...

Now, the distutils.sysconfig... returns the latter, while other parts are put to the former. I am working on a fix.

Revision history for this message
Tomio (tomio2009) wrote :

So, there is a 'not nice' but working fix, which takes the path name from an empty distribution object. This seems to work on our Ubuntu box and also tested fine on a standard Gentoo Linux (both running python 2.6).

Changed in imagep:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.