qt linking issue building xca-0.6.3 port
Mark Foster
mark at foster.cc
Tue Jun 5 21:05:19 UTC 2007
I'm working on an upgrade to the xca port (0.5.1 -> 0.6.3) that will
obviate ports/109045
<http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/109045>
Mostly it is working except for the final stage & I am stuck... any
guidance as to how I might make this work is highly welcomed and
appreciated.
gcc -rpath=/usr/lib:/usr/local/lib -O2 -fno-strict-aliasing -pipe
-Wall -ggdb xca.o -lQtGui -lc_r -lcrypto -o xca
/usr/bin/ld: cannot find -lQtGui
gmake: *** [xca] Error 1
*** Error code 2
# ldconfig -r | grep Qt
143:-lQtCore.4 => /usr/X11R6/lib/libQtCore.so.4
145:-lQtGui.4 => /usr/X11R6/lib/libQtGui.so.4
146:-lQtNetwork.4 => /usr/X11R6/lib/libQtNetwork.so.4
147:-lQtSql.4 => /usr/X11R6/lib/libQtSql.so.4
148:-lQtXml.4 => /usr/X11R6/lib/libQtXml.so.4
149:-lQt3Support.4 => /usr/X11R6/lib/libQt3Support.so.4
152:-lQtDBus.4 => /usr/X11R6/lib/libQtDBus.so.4
153:-lQtAssistantClient.4 =>
/usr/X11R6/lib/libQtAssistantClient.so.4
154:-lQtDesigner.4 => /usr/X11R6/lib/libQtDesigner.so.4
155:-lQtDesignerComponents.4 =>
/usr/X11R6/lib/libQtDesignerComponents.so.4
163:-lQtOpenGL.4 => /usr/X11R6/lib/libQtOpenGL.so.4
164:-lQtTest.4 => /usr/X11R6/lib/libQtTest.so.4
165:-lQtSvg.4 => /usr/X11R6/lib/libQtSvg.so.4
231:-lQtCore.4 => /usr/local/lib/libQtCore.so.4
233:-lQtGui.4 => /usr/local/lib/libQtGui.so.4
234:-lQtNetwork.4 => /usr/local/lib/libQtNetwork.so.4
235:-lQtSql.4 => /usr/local/lib/libQtSql.so.4
236:-lQtXml.4 => /usr/local/lib/libQtXml.so.4
237:-lQt3Support.4 => /usr/local/lib/libQt3Support.so.4
240:-lQtDBus.4 => /usr/local/lib/libQtDBus.so.4
241:-lQtAssistantClient.4 =>
/usr/local/lib/libQtAssistantClient.so.4
242:-lQtDesigner.4 => /usr/local/lib/libQtDesigner.so.4
243:-lQtDesignerComponents.4 =>
/usr/local/lib/libQtDesignerComponents.so.4
251:-lQtOpenGL.4 => /usr/local/lib/libQtOpenGL.so.4
252:-lQtTest.4 => /usr/local/lib/libQtTest.so.4
253:-lQtSvg.4 => /usr/local/lib/libQtSvg.so.4
# ls -al /usr/local/lib/libQtGui.so
lrwxr-xr-x 1 root wheel 17 Jun 4 13:19 /usr/local/lib/libQtGui.so ->
libQtGui.so.4.2.3
# ls -al /usr/local/lib/libQtGui.so.4
lrwxr-xr-x 1 root wheel 17 Jun 4 13:19 /usr/local/lib/libQtGui.so.4
-> libQtGui.so.4.2.3
# ls /var/db/pkg/ | grep qt
dbus-qt4-4.2.3_3
qt4-4.2.3_2
qt4-assistant-4.2.3_2
qt4-codecs-cn-4.2.3
qt4-codecs-jp-4.2.3
qt4-codecs-kr-4.2.3
qt4-codecs-tw-4.2.3
qt4-corelib-4.2.3_2
qt4-designer-4.2.3_3
qt4-doc-4.2.3
qt4-gui-4.2.3_2
qt4-iconengines-4.2.3_1
qt4-imageformats-4.2.3_1
qt4-inputmethods-4.2.3_1
qt4-libQtAssistantClient-4.2.3_2
qt4-linguist-4.2.3_3
qt4-moc-4.2.3_1
qt4-network-4.2.3_2
qt4-opengl-4.2.3_2
qt4-pixeltool-4.2.3_1
qt4-porting-4.2.3
qt4-qt3support-4.2.3_2
qt4-qtconfig-4.2.3_2
qt4-qtestlib-4.2.3_1
qt4-qvfb-4.2.3_2
qt4-rcc-4.2.3
qt4-sql-4.2.3_2
qt4-svg-4.2.3_2
qt4-uic-4.2.3_1
qt4-uic3-4.2.3_1
qt4-xml-4.2.3_1
--
Said one park ranger, 'There is considerable overlap between the
intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP <mark at foster.cc> http://mark.foster.cc/
More information about the freebsd-ports
mailing list