Install issue.

edited October 2014 in General
Hi, sir,

The issue as following is happened when klayout-0.23.7 installing.
Please help me to setup klayout.
Thank you.
OS : Red Hat Enterprise Linux Server release 5.8
( Kernel 2.6.18-308.el5 on an x86_64 )
ruby : ruby 1.8.5 (2006-08-25) [x86_64-linux]
QT : 4.7.3 static install

--- message ---
qauthenticator.cpp:(.text+0x1043): undefined reference to `QCryptographicHash::QCryptographicHash(QCryptographicHash::Algorithm)'
qauthenticator.cpp:(.text+0x1085): undefined reference to `QCryptographicHash::addData(char const*, int)'
qauthenticator.cpp:(.text+0x109a): undefined reference to `QCryptographicHash::result() const'
qauthenticator.cpp:(.text+0x11c8): undefined reference to `QCryptographicHash::~QCryptographicHash()'
qauthenticator.cpp:(.text+0x11dd): undefined reference to `QCryptographicHash::~QCryptographicHash()'
/s500/scyeh/bin/qt-4.7.3/lib/libQtNetwork.a(qauthenticator.o): In function `QAuthenticatorPrivate::QAuthenticatorPrivate()':
qauthenticator.cpp:(.text+0x2884): undefined reference to `QCryptographicHash::hash(QByteArray const&, QCryptographicHash::Algorithm)'
/s500/scyeh/bin/qt-4.7.3/lib/libQtNetwork.a(qauthenticator.o): In function `QAuthenticatorPrivate::QAuthenticatorPrivate()':
qauthenticator.cpp:(.text+0x2c74): undefined reference to `QCryptographicHash::hash(QByteArray const&, QCryptographicHash::Algorithm)'
/s500/scyeh/bin/qt-4.7.3/lib/libQtNetwork.a(qsslcertificate.o): In function `QSslCertificate::digest(QCryptographicHash::Algorithm) const':
qsslcertificate.cpp:(.text+0xd2b): undefined reference to `QCryptographicHash::hash(QByteArray const&, QCryptographicHash::Algorithm)'
collect2: ld returned 1 exit status
gmake[1]: *** [klayout] Error 1
gmake[1]: Leaving directory `/scyeh_lnx07/bin/klayout-0.23.7/build.linux-64-gcc-release/main'
gmake: *** [all] Error 1

--- message ---

Comments

  • edited November -1

    Hello,

    well ... something is wrong with your Qt installation. QtCore should provide QCryptographicHash, but it does not in your case.

    Are you sure your Qt installation is complete? Maybe some 3rd party library was missing during the Qt build and crytographic hashes are not available?

    Matthias

  • edited November -1
    Hi Matthias,

    After re-install Qt, and build klayout.
    The progress of build is done.
    However, there is a message as following when executing klayout.

    --- message ---
    ./klayout: symbol lookup error: ./klayout: undefined symbol: _ZN14QPlainTextEdit16staticMetaObjectE
    --- message ---

    Please help me to setup.
    Thank you very much.
  • edited November -1

    Hello,

    I think you have an older Qt version in your linker path (/usr/lib or otherwise).

    Try setting LD_LIBRARY_PATH to the true location of your Qt libraries. This is probably "/s500/scyeh/bin/qt-4.7.3/".

    BTW: why is it always Red Hat which causes so much trouble?

    Matthias

Sign In or Register to comment.