[Qt-interest] Duplicate Symbol error on 4.6 compile
Israel Brewster
israel at frontierflying.com
Wed Dec 16 23:53:25 CET 2009
Ah, I see there is now a bug report on this issue ( http://bugreports.qt.nokia.com/browse/QTBUG-6771
). Unfortunately, it is not resolved, and the only "solution" at the
moment is to compile without webkit. As I need to display a webpage
(local HTML file) in my application, this doesn't seem to be a very
good solution. It was suggested at one point that the QTextEdit class
may work, but I don't know how that works with links and the like, and
I didn't get a response to my request for more information. Given that
it looks as though there may not be a solution for this any time soon,
I may have to look into it more. Thanks.
On Dec 3, 2009, at 3:22 PM, Israel Brewster wrote:
> It would appear this is a problem with the static build. When I
> remove the static option from the configure string, the build
> completes properly. With -static, it fails every time (for me). I
> have tried both carbon and cocoa builds, as well as -qt-sql-sqlite, -
> plugin-sql-sqlite, and not specifying sqlite at all (which appears
> to default to making a sqlite plugin), with no change in behavior.
> The only way I can seem to make it build is by doing a non-static
> build. This works, but makes my apps a full 30 MB larger than the
> static build after running macdeployqt. What am I doing wrong?
>
> On a related note, I can't seem to get it to build at all on 10.6,
> but this seems to be an issue with my build of MySQL. ALthough I
> don't know why yet.
>
> On Dec 2, 2009, at 12:09 PM, Israel Brewster wrote:
>
>> I am attempting to compile Qt 4.6 on Mac OS X, 10.5 and 10.6 (two
>> different build machines) On both machines I am invariably getting
>> a "duplicate symbol" error after several hours of compiling, as
>> shown below:
>>
>> ld: duplicate symbol _sqlite3_status in /Users/israel/Downloads/qt-
>> everywhere-opensource-src-4.6.0/lib/libQtSql_debug.a(sqlite3.o)
>> and /Users/israel/Downloads/qt-everywhere-opensource-src-4.6.0/lib/
>> libQtWebKit_debug.a(sqlite3.o)
>>
>> I am attempting a static cocoa build, as the release notes imply
>> should work (no one responded to my query on the subject). What can
>> I do to fix this? Thanks.
>> -----------------------------------------------
>> Israel Brewster
>> Computer Support Technician II
>> Frontier Flying Service Inc.
>> 5245 Airport Industrial Rd
>> Fairbanks, AK 99709
>> (907) 450-7250 x293
>> -----------------------------------------------
>>
>> <Israel Brewster.vcf>
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician II
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
> <Israel Brewster.vcf>
>
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091216/a01e28d2/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Israel Brewster.vcf
Type: text/directory
Size: 417 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091216/a01e28d2/attachment.bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091216/a01e28d2/attachment-0001.html
More information about the Qt-interest-old
mailing list