Ken Giusti created PROTON-958:

             Summary: [python] pip installed binding fails to find correct
                 Key: PROTON-958
             Project: Qpid Proton
          Issue Type: Bug
          Components: python-binding
    Affects Versions: 0.9.1
            Reporter: Ken Giusti
            Assignee: Ken Giusti
            Priority: Blocker
             Fix For: 0.10

The latest versions of pip keeps a cache of downloaded packages.  It also 
caches the results of any extensions built for those packages.   When a user 
tries to re-install (or install in a different virtualenv) a previously build 
package, the pre-built package is pulled from the cache and plopped into place.

Which is all great and fast...

... unless your extension also builds a shared library (libqpid-proton) and 
sets its RPATH to it.

This ends up with a cached with a RPATH pointing to the directory 
where the was installed.  Woe be you if that was a virtualenv 
that you deleted (or updated).

This results in either " not found" errors when importing the 
bindings, or symbol mismatches if the library was overwritten.

This message was sent by Atlassian JIRA

Reply via email to