trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Re: [trinity-devel] Autotools package builds

From: Laurent Dard <f.couperin@...>
Date: Fri, 16 Dec 2011 19:55:04 +0100
Le 16/12/2011 15:20, Baho Utot a écrit :

> Ok I will rebuild the dependencies to be in /usr

Good luck.
I'll be away for some days or weeks.
I hope I'll have good news when reopening this mailing list.

>> Maybe this will work:
>>
>> echo "#include <qapplication.h>
>> int main(int argc, char **argv)
>> { QApplication app(argc, argv); return 0; }" |
>> gcc --verbose -x c++ - -I/opt/trinity/include \
>>   -L/opt/trinity/lib

It can't work. I forgot "-lqt-mt"...

>> This one will test pkg-config and it *must* work:
>>
>> echo "#include <qapplication.h>
>> int main(int argc, char **argv)
>> { QApplication app(argc, argv); return 0; }" |
>> gcc --verbose -x c++ - \
>>   `pkg-config --cflags --libs qt-mt`
...
> /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status

There IS something wrong in your installation...

-- 
Laurent Dard