[RQt-devel] Error trying to install qtbase library

Michael Lawrence lawrence.michael at gene.com
Wed May 21 07:55:50 CEST 2014


This looks like a bug in QtNetwork 5.3.0. They forgot to implement a
declared constructor. I've reported it to Qt. For now, you could just use
Qt 5.2.x.


On Tue, May 20, 2014 at 3:06 PM, Saptarshi Guha <saptarshi.guha at gmail.com>wrote:

> 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
> _______________________________________________
> Qtinterfaces-devel mailing list
> Qtinterfaces-devel at lists.r-forge.r-project.org
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20140520/24f6a784/attachment.html>


More information about the Qtinterfaces-devel mailing list