Issue #2124 invalid

application crash when launched if I compile Qt library !!

Anonymous created an issue

I've already reported this error in past but now I've find why it is generated ! It has happened before I compile and install Qt 4.8.2 library ! Os is Ubuntu 10.10.

this is the message :

{{{

!python

Mercurial version (2.3). TortoiseHg version (2.4.3) Command: log CWD: /home/dev Encoding: UTF-8 Extensions loaded: Python version: 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] Qt-4.7.0 PyQt-4.7.4 Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/tortoisehg/hgqt/run.py", line 56, in dispatch return _runcatch(u, args) File "/usr/lib/pymodules/python2.6/tortoisehg/hgqt/run.py", line 247, in _runcatch return runcommand(ui, args) File "/usr/lib/pymodules/python2.6/tortoisehg/hgqt/run.py", line 323, in runcommand return _runcommand(lui, options, cmd, d) File "/usr/lib/pymodules/python2.6/tortoisehg/hgqt/run.py", line 374, in _runcommand return checkargs() File "/usr/lib/pymodules/python2.6/tortoisehg/hgqt/run.py", line 328, in checkargs return cmdfunc() File "/usr/lib/pymodules/python2.6/tortoisehg/hgqt/run.py", line 322, in <lambda> d = lambda: util.checksignature(func)(ui, *args, cmdoptions) File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 472, in check return func(args, *kwargs) File "/usr/lib/pymodules/python2.6/tortoisehg/hgqt/run.py", line 757, in log from tortoisehg.hgqt.workbench import run File "/usr/lib/pymodules/python2.6/mercurial/demandimport.py", line 95, in _demandimport return _import(name, globals, locals, fromlist, level) File "/usr/lib/pymodules/python2.6/tortoisehg/hgqt/workbench.py", line 29, in <module> from PyQt4.QtNetwork import QLocalServer, QLocalSocket File "/usr/lib/pymodules/python2.6/mercurial/demandimport.py", line 114, in _demandimport mod = _origimport(name, globals, locals) ImportError: /usr/lib/pymodules/python2.6/PyQt4/QtNetwork.so: undefined symbol: _ZTI10QSslSocket

}}}

Comments (8)

  1. Giovanni Manzoni

    I've installed

    sudo apt-get install g++ libmysqlclient* libx11-dev libxext-dev fontconfig* libgtk2.0-dev

    and then compile Qt library with ./configure -nomake demos -nomake examples -nomake docs -gtkstyle -qt-sql-mysql -v

    then TortoiseHg crash when launched

  2. Yuya Nishihara

    You also need to rebuild PyQt4 and python binding of QScintilla for your local Qt build.

    FWIW, why you don't want to use the packaged version?

    Closes as not a TortoiseHg bug.

  3. Yuya Nishihara

    I suggest you to install the custom Qt build into non-system path and specify LD_LIBRARY_PATH, etc. only for the application which really needs Qt 4.8.2.

    Rebuilding the whole Qt-related stuffs could be tough. :)

  4. Log in to comment