[PyQt] PyQT4 always 'Segmentation fault' ,help me please

David Boddie david at boddie.org.uk
Tue May 1 14:06:13 BST 2007


On Tuesday 01 May 2007 14:48, haiyun jiang wrote:

> I have rebuilded the PyQt4 from source, but the problem seems to be
> remaining.

You may need to rebuild SIP and PyQt4 with debugging symbols enabled:
pass the -u option to the configure.py scripts for each package.
Then you will be able to use gdb to get some more information about why
the segmentation fault occurs.

> And I notice the notes for gettext on
> http://www.freshports.org/devel/gettext/:
> It says:
> "As a result of the upgrade to gettext-0.16.1, the shared library version
>   of libintl has changed, so you will need to rebuild all ports that
>   depend on gettext (ie: most of them, sorry):
>     portupgrade -rf gettext
> "
> and PyQT4 have some dependence on gettext.
> I install gettext-0.16.1 just as "make install clean" and link 
> libintl.so.6to libintl.so8 as
> "ln -s /usr/local/libintl.so.8 /usr/local/libintl.so.6".
> Now I "portupgrade -rf gettext", hope this can make some help.

I hope so, too.

David


More information about the PyQt mailing list