It appears that perhaps because qt4.2.2 has qt3 compatibility
or some such, qgis is picking up /usr/lib/libQtGui.so.4 instead
of /usr/local/qt4/lib/libQtGui.so.4 which is where
_ZN16QDialogButtonBox16staticMetaObjectE is defined.
I don't know why Reid isn't having this problem or how
to get around it...

ldd on qgis-0.8.1 is:
        libQt3Support.so.4 => /usr/lib/libQt3Support.so.4 (0x00002aaaaabc2000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00002aaaaafef000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00002aaaab134000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002aaaab790000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00002aaaab8b5000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00002aaaab9bf000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00002aaaabada000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002aaaabbe3000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002aaaabcec000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002aaaabdef000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00002aaaabefa000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002aaaabffc000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002aaaac177000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002aaaac2b7000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002aaaac3c8000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00002aaaac5d0000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00002aaaac71b000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00002aaaac877000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaacadb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaacbf2000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaacd07000)
        libqgis_core.so => /usr/local/lib/libqgis_core.so (0x00002aaaace09000)
        libpq.so.4 => /usr/lib/libpq.so.4 (0x00002aaaacf7c000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaad09e000)
        libproj.so.0 => /usr/local/lib/libproj.so.0 (0x00002aaaad223000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00002aaaad365000)
        libgeos.so.2 => /usr/lib/libgeos.so.2 (0x00002aaaad4bc000)
        libgdal.so.1 => /usr/lib/libgdal.so.1 (0x00002aaaad6be000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002aaaadba0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaadd9d000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaadeaa000)
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x00002aaaae0e4000)
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0x00002aaaae286000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0x00002aaaae39e000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002aaaae500000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002aaaae605000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002aaaae729000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
        libQtTest.so.4 => /usr/local/qt4/lib/libQtTest.so.4 (0x00002aaaae82b000)
        libQtDesigner.so.4 => /usr/local/qt4/lib/libQtDesigner.so.4 
(0x00002aaaae93d000)
        libutil.so.1 => /lib/libutil.so.1 (0x00002aaaaeb9a000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00002aaaaec9c000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00002aaaaede4000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00002aaaaf055000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00002aaaaf1db000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002aaaaf2de000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002aaaaf411000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002aaaaf526000)
        libodbc.so.1 => /usr/lib/libodbc.so.1 (0x00002aaaaf63d000)
        libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0x00002aaaaf799000)
        libjasper-1.701.so.1 => /usr/lib/libjasper-1.701.so.1 
(0x00002aaaafc1d000)
        libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0x00002aaaafd73000)
        libdf.so.4 => /usr/lib/libdf.so.4 (0x00002aaaafe99000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0x00002aaab0044000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002aaab014d000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00002aaab026f000)
        libnetcdf.so.3 => /usr/lib/libnetcdf.so.3 (0x00002aaab03c7000)
        libcfitsio.so.2 => /usr/lib/libcfitsio.so.2 (0x00002aaab0503000)
        libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 
(0x00002aaab0790000)
        libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0x00002aaab09fd000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002aaab0b59000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00002aaab0cec000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0x00002aaab0e12000)
        libicuuc.so.34 => /usr/lib/libicuuc.so.34 (0x00002aaab0f19000)
        libicudata.so.34 => /usr/lib/libicudata.so.34 (0x00002aaab113f000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00002aaab1ab4000)


             Harry

On Sat, 21 Jul 2007 20:40:58 -0600  "Harry G. McGavran Jr. " wrote:
> 
> I tried cmake -I/usr/local/qt4/include (etc.) and got:
> 
> (grep -i qt * | grep -i include)
> 
> CMakeCache.txt:QT_INCLUDE_DIR:PATH=/usr/local/qt4/include
> CMakeCache.txt:QT_QT3SUPPORT_INCLUDE_DIR:PATH=/usr/local/qt4/include/Qt3Suppo
rt
> CMakeCache.txt:QT_QTASSISTANT_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtAssis
ta
> nt
> CMakeCache.txt:QT_QTCORE_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtCore
> CMakeCache.txt:QT_QTDESIGNER_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtDesign
er
> CMakeCache.txt:QT_QTGUI_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtGui
> CMakeCache.txt:QT_QTNETWORK_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtNetwork
> CMakeCache.txt:QT_QTOPENGL_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtOpenGL
> CMakeCache.txt:QT_QTSQL_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtSql
> CMakeCache.txt:QT_QTSVG_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtSvg
> CMakeCache.txt:QT_QTTEST_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtTest
> CMakeCache.txt:QT_QTUITOOLS_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtUiTools
> CMakeCache.txt:QT_QTXML_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtXml
> CMakeCache.txt:QT_QT_INCLUDE_DIR:PATH=/usr/local/qt4/include/Qt
> CMakeCache.txt:QT_HEADERS_DIR:INTERNAL=/usr/local/qt4/include
> 
> symbol lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: undefined symbol:
 
> _ZN16QDialogButtonBox16staticMetaObjectE
> 
> One would think that it was using the right qt headers, but who knows?
> 
>       Harry
> 
> On Sat, 21 Jul 2007 19:12:43 -0600  "Harry G. McGavran Jr. " wrote:
> > 
> > Very likely --
> > 
> > I have two versions, one in /usr and one in /usr/local.
> > The one in /usr/local is the one I want.  How do I make
> > sure it gets built using /usr/local/qt4/include???
> > 
> >     
> > QT4DIR=/usr/local/qt4
> > export PATH=$QT4DIR/bin:$PATH
> > cmake -D QT_BINARY_DIR=$QT4DIR/bin ..
> > 
> >    Harry
> > 
> > 
> > On Sat, 21 Jul 2007 20:59:21 -0300  Tim Sutton wrote:
> > > 
> > > --Apple-Mail-3-596731713
> > > Content-Transfer-Encoding: quoted-printable
> > > Content-Type: text/plain;
> > >   charset=ISO-8859-1;
> > >   delsp=yes;
> > >   format=flowed
> > > 
> > > Hi
> > > 
> > > My guess is that the Qt version providing headers and the Qt version =20
> > > for lib linking  could be out of sync...
> > > 
> > > How many versions of Qt do you have on your system?
> > > 
> > > Regards
> > > 
> > > Tim
> > > 
> > > Em 21/07/2007, =E0s 13:37, Harry G. McGavran Jr. escreveu:
> > > 
> > > >
> > > > I've been following this thread and trying to do the same thing.
> > > > It works like Reid's except what I get is:
> > > >
> > > > symbol lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: =20
> > > > undefined symbol:
> > > > _ZN16QDialogButtonBox16staticMetaObjectE
> > > >
> > > > even with the correct LD_LIBRARY_PATH, although qgis seems to
> > > > want /usr/local/qt4/lib which is correct in any case.
> > > >
> > > > Qt4.2.2 is in that path which is what it looks like Reid is using.
> > > >
> > > > Suggestions?
> > > >
> > > >         Harry
> > > >
> > > >
> > > > --=20
> > > >
> > > > Harry G. McGavran, Jr.
> > > >
> > > > E-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Qgis-user mailing list
> > > > Qgis-user@lists.qgis.org
> > > > http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
> > > 
> > > 
> > > Tim Sutton
> > > 
> > > QGIS Project Steering Committee Member - Release  Manager
> > > Visit http://qgis.org for a great open source GIS
> > > 
> > > openModeller Desktop Developer
> > > Visit http://openModeller.sf.net for a great open source ecological =20
> > > niche modelling tool
> > > 
> > > Home Page: http://tim.linfiniti.com
> > > Skype: timlinux
> > > Irc: timlinux on #qgis at freenode.net
> > > 
> > > 
> > > 
> > > 
> > > --Apple-Mail-3-596731713
> > > Content-Transfer-Encoding: quoted-printable
> > > Content-Type: text/html;
> > >   charset=ISO-8859-1
> > > 
> > > <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
> > > -khtml-line-break: after-white-space; ">Hi<DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>My guess is that the Qt =
> > > version providing headers and the Qt version for lib linking=A0 could be 
=
> > > out of sync...</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>How many versions of Qt do =
> > > you have on your system?</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>Regards</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>Tim</DIV><DIV><BR><DIV><DIV>
E=
> > > m 21/07/2007, =E0s 13:37, Harry G. McGavran Jr. escreveu:</DIV><BR =
> > > class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I've =
> > > been following this thread and trying to do the same thing.</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">It works like Reid's except what I get is:</DIV><DIV 
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">symbol =
> > > lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: undefined =
> > > symbol:<SPAN class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">_ZN16QDialogButtonBox16staticMetaObjectE</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">even =
> > > with the correct LD_LIBRARY_PATH, although qgis seems to</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">want /usr/local/qt4/lib which is correct in any =
> > > case.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV 
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Qt4.2.2 is in that path which is what it looks like =
> > > Reid is using.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV 
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Suggestions?</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
> > > 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; "><SPAN class=3D"Apple-tab-span" =
> > > style=3D"white-space:pre">        </SPAN>Harry</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--<SPAN =
> > > class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Harry G. =
> > > McGavran, Jr.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV 
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">E-mail: <A =
> > > href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
> > > 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; =
> > > ">_______________________________________________</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Qgis-user mailing list</DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A =
> > > href=3D"mailto:Qgis-user@lists.qgis.org";>Qgis-user@lists.qgis.org</A></DI
V=
> > > ><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; "><A =
> > > href=3D"http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user";>http://
l=
> > > ists.qgis.org/cgi-bin/mailman/listinfo/qgis-user</A></DIV> =
> > > </BLOCKQUOTE></DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
> > > style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
> > > rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
> > > normal; font-variant: normal; font-weight: normal; letter-spacing: =
> > > normal; line-height: normal; text-align: auto; =
> > > -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> > > white-space: normal; widows: 2; word-spacing: 0px; "><BR =
> > > class=3D"Apple-interchange-newline"><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
> > > normal normal 12px/normal Helvetica; min-height: 14px; "></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Tim Sutton</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">QGIS Project =
> > > Steering Committee Member - Release=A0<SPAN =
> > > class=3D"Apple-converted-space">=A0</SPAN>Manager</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Visit <A href=3D"http://qgis.org";>http://qgis.org</A>
 =
> > > for a great open source GIS</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">openModeller =
> > > Desktop Developer</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; 
=
> > > margin-bottom: 0px; margin-left: 0px; ">Visit <A =
> > > href=3D"http://openModeller.sf.net";>http://openModeller.sf.net</A> for a 
=
> > > great open source ecological niche modelling tool</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; "><BR class=3D"khtml-block-placeholder"></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Home Page: <A =
> > > href=3D"http://tim.linfiniti.com";>http://tim.linfiniti.com</A></DIV><DIV 
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Skype: timlinux</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Irc: timlinux 
=
> > > on #qgis at freenode.net</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><BR =
> > > class=3D"Apple-interchange-newline"></SPAN> =
> > > </DIV><BR></DIV></BODY></HTML>=
> > > 
> > > --Apple-Mail-3-596731713--
> > 
> > -- 
> > 
> > Harry G. McGavran, Jr.
> > 
> > E-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> -- 
> 
> Harry G. McGavran, Jr.
> 
> E-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 

Harry G. McGavran, Jr.

E-mail: [EMAIL PROTECTED]




2.              (text/plain)
-- 

Harry G. McGavran, Jr.

E-mail: [EMAIL PROTECTED]






-- 

Harry G. McGavran, Jr.

E-mail: [EMAIL PROTECTED]



_______________________________________________
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user

Reply via email to