Qt 4.6 fails to compile as a static build (Carbon, 32-bit) under Mac.
Someone reported this issue at:
http://bugreports.qt.nokia.com/browse/QTBUG-7496
http://bugreports.qt.nokia.com/browse/QTBUG-6771
But the QT team doesn't seem to interest to solve this problem for Mac at all.
./configure -release -static -platform macx-g++ -no-framework; make
You will see errors like this:
ld: duplicate symbol _sqlite3_status in /Users/simon/461/lib/libQtWebKit.a(sqlite3.o) and /Users/simon/461/plugins/sqldrivers/libqsqlite.a(sqlite3.o)
collect2: ld returned 1 exit status
make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant] Error 1
make[3]: *** [sub-assistant-make_default-ordered] Error 2
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make: *** [sub-tools-make_default-ordered] Error 2
How do you fix the duplicate symbol error in order to successfully build?
Thanks.
Bookmarks