The problem indeed occurs only when rpath is off and you have some other Qt version installed (I had Qt 4.5 in /usr/lib). I just set my LD_LIBRARY_PATH to point to Qt 4.6 lib dir and then make proceeded without any issues.
Someone with better understand of dependency resolution should comment on a possible solution for this. Utkarsh On Fri, Mar 12, 2010 at 3:34 PM, Utkarsh Ayachit <[email protected]> wrote: > Jean, > > Any luck with this? I suddenly started getting those after I turned rpath off. > > Utkarsh > > On Wed, Mar 3, 2010 at 12:41 PM, Favre Jean <[email protected]> wrote: >> >> For a few days, I have had a link errors which I cannot get rid of. >> >> I am compiling with an installed qt4.6.1 compiled from source, shared libs, >> with testing, MPI, Python, and am getting this: >> >> Linking CXX executable ../../../bin/pvtkpython >> ../../../bin/libvtkRendering.so.pv3.7: undefined reference to >> `QMapData::createData(int)' >> ../../../bin/libvtkRendering.so.pv3.7: undefined reference to >> `QPainter::drawImage(QPointF const&, QImage const&)' >> ../../../bin/libvtkRendering.so.pv3.7: undefined reference to >> `QMapData::node_create(QMapData::Node**, int, int)' >> ../../../bin/libvtkRendering.so.pv3.7: undefined reference to >> `QTextDocument::setDocumentMargin(double)' >> >> I saw the comments in CMakeLists.txt about linking errors on the Mac, but I >> am not on a Mac. (Linux cluster running RH). My compile line does not >> include any Qt lib. >> >> ----------------- >> Jean >> Swiss National Supercomputing Center >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
