[Qt-interest] Duplicate Symbol error on 4.6 compile
Israel Brewster
israel at frontierflying.com
Fri Dec 4 01:22:00 CET 2009
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
-----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091203/2f015df8/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/20091203/2f015df8/attachment.bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091203/2f015df8/attachment-0001.html
More information about the Qt-interest-old
mailing list