[RQt-devel] Error trying to install qtbase library

Saptarshi Guha saptarshi.guha at gmail.com
Wed May 21 00:06:22 CEST 2014


Hello,

I'm working with 21b56bb5b1cd09582704d91e3f79bb56660a37c1 and got this
error after R CMD INSTALL


Error : .onLoad failed in loadNamespace() for 'qtbase', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object
'/Users/sguha/R_LIBS/qtbase/libs/qtbase.so':
  dlopen(/Users/sguha/R_LIBS/qtbase/libs/qtbase.so, 6): Symbol not
found: __ZN10QDnsLookupC2ENS_4TypeERK7QStringRK12QHostAddressP7QObject
  Referenced from: /Users/sguha/R_LIBS/qtbase/libs/qtbase.so
  Expected in: flat namespace
 in /Users/sguha/R_LIBS/qtbase/libs/qtbase.so
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/sguha/R_LIBS/qtbase’


however, all linked libraries can be found:


bhimrul:qtbase sguha$ otool -L /Users/sguha/tmp/qtbase/src/./qtbase.so
/Users/sguha/tmp/qtbase/src/./qtbase.so:
    qtbase.so (compatibility version 0.0.0, current version 0.0.0)
    /Users/sguha/qt/53a/lib/QtWidgets.framework/Versions/5/QtWidgets
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtMultimedia.framework/Versions/5/QtMultimedia
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtNetwork.framework/Versions/5/QtNetwork
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtQml.framework/Versions/5/QtQml
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtQuick.framework/Versions/5/QtQuick
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtSql.framework/Versions/5/QtSql
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtTest.framework/Versions/5/QtTest
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtSvg.framework/Versions/5/QtSvg
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtXmlPatterns.framework/Versions/5/QtXmlPatterns
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport
(compatibility version 5.3.0, current version 5.3.0)
    /Users/sguha/qt/53a/lib/QtHelp.framework/Versions/5/QtHelp
(compatibility version 5.3.0, current version 5.3.0)
.....


I also set DYLD_LIBRARY_PATH and LD_LIBRARY_PATH to point to
/Users/sguha/qt/53a/lib/ but i still get that error ...

Any ideas? (This is on OSX and R3...)

Cheers
Saptarshi
I'm using QT 5.3


More information about the Qtinterfaces-devel mailing list