Hi, Thanks for reporting this bug Rpath should be patched to install dir not to actual build dir, I will fix this.
Regards R. 2012/11/6 Matthew Brett <[email protected]> > Hi, > > I am just getting used to PySide-setup - thanks for all the work on that. > > I wanted to see if I could get pyside built and compiled using a standard: > > git clone git://github.com/PySide/pyside-setup.git > cd pyside-setup > python setup.py install > > (this on Ubuntu 12.04) > > All goes well, with the resulting output finishing with: > > Patched rpath in > /home/mb312/dev_trees/pyside-setup/PySide/QtDeclarative.so to > /home/mb312/dev_trees/pyside-setup/PySide. > Patched rpath in /home/mb312/dev_trees/pyside-setup/PySide/shiboken.so > to /home/mb312/dev_trees/pyside-setup/PySide. > Patched rpath in /home/mb312/dev_trees/pyside-setup/PySide/QtHelp.so > to /home/mb312/dev_trees/pyside-setup/PySide. > PySide package successfully installed in > /home/mb312/dev_trees/pyside-setup/PySide... > > But - these lines are telling me that the libraries are being patched > inside the local PySide directory, not the directory to which the > files are being installed. And indeed: > > (pyside27)[mb312@blanca ~/dev_trees/pyside-setup (master)]$ python > Python 2.7.3 (default, Aug 1 2012, 05:16:07) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import PySide > >>> print PySide.__file__ > PySide/__init__.pyc > >>> import PySide.QtCore > >>> exit() > > - the import works in the local directory, but: > > (pyside27)[mb312@blanca ~/dev_trees/pyside-setup (master)]$ cd .. > (pyside27)[mb312@blanca ~/dev_trees]$ python > Python 2.7.3 (default, Aug 1 2012, 05:16:07) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import PySide > >>> print PySide.__file__ > > /home/mb312/.virtualenvs/pyside27/local/lib/python2.7/site-packages/PySide/__init__.pyc > >>> import PySide.QtCore > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: libpyside-python2.7.so.1.1: cannot open shared object > file: No such file or directory > > importing from where we've installed to, does _not_ work. > > I guess one fix would be to move the local 'PySide' directory out of > the way before running the last `pyside_postinstall.py` command, that > does the rpath patching above? But that would break something else? > > Cheers, > > Matthew > _______________________________________________ > PySide mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/pyside >
_______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
