Check if your have libpyside.so in your default library path, if not you can fix this setting the LD_LIBRARY_PATH.
ex. $ export LD_LIBRARY_PATH=[dir with libpyside.so] BR On Sun, Oct 31, 2010 at 5:31 AM, Algis Kabaila <[email protected]> wrote: > Hi, > > I think this is elementary and something that "everybody know", except me. > After building PySide from source, I am unable to access it at all. > > Here is a snippet of trying to access PySite from CLI > > *************** > > a...@supremo:~$ python > > Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) > > [GCC 4.4.5] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > >>>> from PySide.QtGui import * > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File "/usr/local/lib/python2.6/dist-packages/PySide/__init__.py", line 2, in > <module> > > import private > > File "/usr/local/lib/python2.6/dist-packages/PySide/private.py", line 2, in > <module> > > from QtCore import __moduleShutdown > > ImportError: libpyside.so.1.0: cannot open shared object file: No such file > or directory > >>>> import PySide > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File "/usr/local/lib/python2.6/dist-packages/PySide/__init__.py", line 2, in > <module> > > import private > > File "/usr/local/lib/python2.6/dist-packages/PySide/private.py", line 2, in > <module> > > from QtCore import __moduleShutdown > > ImportError: libpyside.so.1.0: cannot open shared object file: No such file > or directory > >>>> > > *************** > > I think I am missing something that everybody knows and I am expected to > know, but I don't :( > > Help, please... > > OldAl > > -- > > Algis Kabaila > > http://akabaila.pcug.org.au/ > > _______________________________________________ > PySide mailing list > [email protected] > http://lists.openbossa.org/listinfo/pyside > > -- Renato Araujo Oliveira Filho Instituto Nokia de Tecnologia - INdT Mobile: +55 (81) 8704-2144 _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
