Thanks, that was stupid mistake.

But now I have "ImportError: dynamic module does not define init function
(initlibqtmmlwidget)"

Any ideas?

On 1 November 2010 17:58, Anderson Lizardo
<[email protected]>wrote:

> On Mon, Nov 1, 2010 at 11:32 AM, Stefan Krastanov
> <[email protected]> wrote:
> > Forgot to reply to all
> > OK, It compiled but it does not import.
> > When I write "import libqtmmlwidget" in python I get "ImportError:
> > libQtSolutions_MMLWidget-2.4.so.1: cannot open shared object file: No
> such
> > file or directory".
> > libqtmmlwidget.so* and libQtSolutions_MMLWidget-2.4.so* are in pwd and
> pwd
> > is in LD_PRELOAD.
> > Is it that the binding is not working or is it just some stupid mistake
> when
> > I am importing?
>
> Note that the correct variable is "LD_LIBRARY_PATH". Try something like:
>
> export LD_LIBRARY_PATH=$PWD
>
> (be sure to unset any LD_PRELOAD variable you might have set).
>
> Regards,
> --
> Anderson Lizardo
> OpenBossa Labs - INdT
> Manaus - Brazil
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to