[PySide] libpyside-python2.6.so.1.2 ImportError

Roman Lacko backup.rlacko at gmail.com
Mon Feb 10 08:47:19 CET 2014


2014-02-10 6:09 GMT+01:00 Tony Barbieri <greatrgb at gmail.com>:

> I'm guessing this happened because I did not run setup.py install which I
> assume would run patchelf and update the RPATH?  If so, could running
> patchelf be part of the build process for the libs that are in the
> pyside_package folder?  It would seem they only need RPATH=$ORIGIN since
> the pyside_package folder is a flat list of all of the libraries PySide
> uses.
>

Hi Tony,

The patchelf should be called only at install time. The pyside_package is
temporary build folder and running patchelf at build time will change the
pyside libraries so the RPATH will point to temporary build folder which
will be deleted. Can you explain why you need import PySide from temporary
build folder ?

Thanks
Roman

[1] https://github.com/PySide/pyside-setup


>
>
> On Sun, Feb 9, 2014 at 10:36 PM, Tony Barbieri <greatrgb at gmail.com> wrote:
>
>> I apologize for sending that last email out without a subject.  I
>> included a subject in this so it could be searched later if needed.
>>
>>
>> I've build PySide 1.2.1 on CentOS 6.2 with Qt 4.7.4 and python 2.6 using:
>>
>> python setup.py build --qmake=~/qt/4.7.4/bin/qmake --standalone
>>
>> Everything built fine but when I run:
>>
>> from PySide import QtCore, QtGui I get the following error:
>>
>> ImportError: libpyside-python2.6.so.1.2: cannot open shared object file:
>> No such file or directory
>>
>> Any clue as to what would cause this?
>>
>> Any help is appreciated,
>>
>> --
>> -tony
>>
>
>
>
> --
> -tony
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20140210/6b2e6252/attachment.html>


More information about the PySide mailing list