[RQt-devel] Error trying to install qtbase library

Saptarshi Guha saptarshi.guha at gmail.com
Wed May 21 20:53:05 CEST 2014


Yes,

1. COmpiling against 5.2 worked great (no need to remove QDnsLookup)
2. Pulling your new commit from github worked with 5.3 (removing the QDnsLookup)

Thanks!
Saptarshi


On Wed, May 21, 2014 at 11:39 AM, Michael Lawrence
<lawrence.michael at gene.com> wrote:
> I just pushed another attempt at excluding it; would you please try again?
>
>
> On Wed, May 21, 2014 at 8:59 AM, Saptarshi Guha <saptarshi.guha at gmail.com>
> wrote:
>>
>> Hmm,
>> I think in your last commit, you did comment it
>>
>>
>>         <signature>.*QDnsLookup::QDnsLookup\(QDnsLookup::Type, QString
>> const&, QHostAddress const&, QObject\*\).*</signature>
>>
>>
>> But I get the same error.
>>
>>
>> On Wed, May 21, 2014 at 8:35 AM, Michael Lawrence
>> <lawrence.michael at gene.com> wrote:
>> > You could just remove the occurrences of QtNetwork in the CMakeLists.txt
>> > files (there are multiple such files in the package). Or you could add
>> > the
>> > offending constructor signature to the ignore list in smokeconfig.xml.
>> >
>> >
>> > On Wed, May 21, 2014 at 8:29 AM, Saptarshi Guha
>> > <saptarshi.guha at gmail.com>
>> > wrote:
>> >>
>> >> Is it possible to turn of QtNetwork support in 5.3?
>> >> Regards
>> >> Saptarshi
>> >>
>> >>
>> >> On Tue, May 20, 2014 at 10:55 PM, Michael Lawrence
>> >> <lawrence.michael at gene.com> wrote:
>> >> > 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
>> >> >
>> >> >
>> >
>> >
>
>


More information about the Qtinterfaces-devel mailing list