[Solved] Compile error webclient archlinux

Submitted by tomsdale on 2012-01-30

Compile error webclient archlinux

Hi,
I'm getting the following compile error on archlinux when I try to compile the webissues client:

-I../tmp xmlui/toolstrip.h -o ../tmp/moc
g++ -c -m64 -pipe -O2 -D_REENTRANT -WallQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LI/include/QtCore -I/usr/include/QtNetworkql -I/usr/include -I. -I../tmp -I../tmp 
/usr/bin/moc -DHAVE_OPENSSL -DQT_NO_DEBUT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mQtNetwork -I/usr/include/QtGui -I/usr/in-I../tmp xmlui/toolstrip_p.h -o ../tmp/m
g++ -c -m64 -pipe -O2 -D_REENTRANT -WallQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LI/include/QtCore -I/usr/include/QtNetworkql -I/usr/include -I. -I../tmp -I../tmp p                                       
/usr/bin/rcc -name icons icons/icons.qrc
g++ -c -m64 -pipe -O2 -D_REENTRANT -WallQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LI/include/QtCore -I/usr/include/QtNetworkql -I/usr/include -I. -I../tmp -I../tmp 
/usr/bin/rcc -name resources resources/r
g++ -c -m64 -pipe -O2 -D_REENTRANT -WallQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LI/include/QtCore -I/usr/include/QtNetworkql -I/usr/include -I. -I../tmp -I../tmp 
g++ -m64 -Wl,-O1,--sort-common,--as-need../tmp/release/application.o ../tmp/reletbatch.o ../tmp/release/alertsbatch.o ../release/finditembatch.o ../tmp/release/loginbatch.o ../tmp/release/preferencesb../tmp/release/statebatch.o ../tmp/releasersbatch.o ../tmp/release/viewsbatch.o tmp/release/certificatesstore.o ../tmp/rrelease/datamanager.o ../tmp/release/entche.o ../tmp/release/localsettings.o ../se/aboutbox.o ../tmp/release/alertdialogalog.o ../tmp/release/connectioninfodialondialog.o ../tmp/release/issuedialogs.oog.o ../tmp/release/metadatadialog.o ../o ../tmp/release/projectdialogs.o ../tmpp/release/statedialogs.o ../tmp/release/wdialogs.o ../tmp/release/viewsettingsdi.o ../tmp/release/basemodel.o ../tmp/reltmp/release/membersmodel.o ../tmp/releasase/reportgenerator.o ../tmp/release/sqlodel.o ../tmp/release/viewsmodel.o ../tmtmp/release/sqliteextension.o ../tmp/rele/csvwriter.o ../tmp/release/dataserialioninfo.o ../tmp/release/errorhelper.o ..elease/multiselectcompleter.o ../tmp/reltmp/release/textwriter.o ../tmp/release//validator.o ../tmp/release/viewsettingsew.o ../tmp/release/issueview.o ../tmp/rse/typesview.o ../tmp/release/usersview.release/viewfactory.o ../tmp/release/vieease/abstractvalueeditor.o ../tmp/release/filterlabel.o ../tmp/release/findbar.oo ../tmp/release/metadataeditorfactory.o ../tmp/release/propertypanel.o ../tmp/rtmp/release/statuslabel.o ../tmp/releaselease/builder.o ../tmp/release/client.o /tmp/release/moc_application.o ../tmp/retmp/release/moc_alertsbatch.o ../tmp/rel/release/moc_finditembatch.o ../tmp/releelease/moc_preferencesbatch.o ../tmp/relmp/release/moc_typesbatch.o ../tmp/releaelease/moc_viewsbatch.o ../tmp/release/m/tmp/release/moc_credentialsstore.o ../t./tmp/release/moc_localsettings.o ../tmptmp/release/moc_checkmessagebox.o ../tmpodialog.o ../tmp/release/moc_finditemdiaoc_issuedialogs.o ../tmp/release/moc_logease/moc_membersdialog.o ../tmp/release/./tmp/release/moc_projectdialogs.o ../tmg.o ../tmp/release/moc_statedialogs.o ...o ../tmp/release/moc_viewdialogs.o ../tlogs.o ../tmp/release/moc_alertsmodel.o .o ../tmp/release/moc_issuedetailsgeneraojectsmodel.o ../tmp/release/moc_queryge/moc_sqltreemodel.o ../tmp/release/moc_tc_viewsmodel.o ../tmp/release/moc_sqlitemoc_errorhelper.o ../tmp/release/moc_forease/moc_updateclient.o ../tmp/release/m/release/moc_commentview.o ../tmp/releasase/moc_projectsview.o ../tmp/release/mooc_usersview.o ../tmp/release/moc_view.oager.o ../tmp/release/moc_abstractmetadalease/moc_edittoolbutton.o ../tmp/releaselease/moc_findbar.o ../tmp/release/moc_ease/moc_metadataeditors.o ../tmp/release/moc_panewidget.o ../tmp/release/moc_propertypanel.o ../tmp/release/moc_searcheditbox.o ../tmp/release/moc_separatorcombobox.o ../tmp/release/moc_statuslabel.o ../tmp/release/moc_valueeditors.o ../tmp/release/moc_builder.o ../tmp/release/moc_gradientwidget.o ../tmp/release/moc_toolstrip.o ../tmp/release/moc_toolstrip_p.o ../tmp/release/qrc_icons.o ../tmp/release/qrc_resources.o    -L/usr/lib -lQtSql -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread 
/usr/bin/ld: ../tmp/release/sqlite3.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
/lib/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [../release/webissues] Error 1
make[1]: Leaving directory `/home/tom/src/kde/webissues/webissues-1.0/src'
make: *** [sub-src-make_default] Error 2

I have sqlite3 locally installed. If I uncomment the following in /src/src.pro the compilation goes through but I cannot start the application due to a caching error

include( sqlite/sqlite.pri

Am I missing something here?

Try running configure with the -system-sqlite option.

Regards,
Michał