Hi Utkarsh,
Thanks for your Advices. I tried to do LD_DEBUG, and 2 different results are found. If I did it for ./ParaView_bin/paraview (built by "make"): > 6166: find library=libQtHelp.so.4 [0]; searching > 6166: search > path=/home/magician/Desktop/ParaView-bin/bin:/usr/local/lib/tls/x86_64:/usr/local/lib/tls:/usr/local/lib/x86_64:/usr/local/lib:tls/x86_64:tls:x86_64: > (RPATH from file ./bin/paraview) > 6166: trying file=/home/magician/Desktop/ParaView-bin/bin/libQtHelp.so.4 > 6166: trying file=/usr/local/lib/tls/x86_64/libQtHelp.so.4 > 6166: trying file=/usr/local/lib/tls/libQtHelp.so.4 > 6166: trying file=/usr/local/lib/x86_64/libQtHelp.so.4 > 6166: trying file=/usr/local/lib/libQtHelp.so.4 ...And ParaView was started successfully. Then I also did it for /usr/local/bin/paraview (installed by "make install"): > 6321: find library=libQtHelp.so.4 [0]; searching > 6321: search > path=/usr/local/lib/paraview-3.14:/usr/local/tls/x86_64:/usr/local/tls:/usr/local/x86_64:/usr/local > (LD_LIBRARY_PATH) > 6321: trying file=/usr/local/lib/paraview-3.14/libQtHelp.so.4 > 6321: trying file=/usr/local/tls/x86_64/libQtHelp.so.4 > 6321: trying file=/usr/local/tls/libQtHelp.so.4 > 6321: trying file=/usr/local/x86_64/libQtHelp.so.4 > 6321: trying file=/usr/local/libQtHelp.so.4 > 6321: search cache=/etc/ld.so.cache > 6321: search > path=/lib64/tls/x86_64:/lib64/tls:/lib64/x86_64:/lib64:/usr/lib64/tls/x86_64:/usr/lib64/tls:/usr/lib64/x86_64:/usr/lib64 > (system search path) > 6321: trying file=/lib64/tls/x86_64/libQtHelp.so.4 > 6321: trying file=/lib64/tls/libQtHelp.so.4 > 6321: trying file=/lib64/x86_64/libQtHelp.so.4 > 6321: trying file=/lib64/libQtHelp.so.4 > 6321: /usr/local/lib/paraview-3.14/paraview: error while loading shared libraries: libQtHelp.so.4: cannot open shared object file: Error 40 ...And ParaView couldn't be started. I hope ParaView could run on /usr/local/bin by all users of my machine. On 2012/04/24, at 2:02, Utkarsh Ayachit wrote: > Try running ParaView as: > > > LD_DEBUG=libs ./bin/paraview > > > > ~/Kitware/ParaView3/ParaViewBin > > Pipe the output to a file and look at the output. It should tell you where > it's looking for the QtHelp. > > Utkarsh > > > > On Sun, Apr 22, 2012 at 10:39 AM, Magician <[email protected]> wrote: > Hi all, > > > I succeeded to build ParaView on CentOS 6.2, > and I had another Linux Workstation of CentOS 5.3. > So I built ParaView 3.14.1 on CentOS 5.3, > but I got some troubles to execute ParaView. > > I installed those packages by yum command: > > libXext-devel.x86_64 > > dbus-devel.x86_64 > > libXext-devel.x86_64 > > glib2-devel.x86_64 > > gstreamer-devel.x86_64 > > gstreamer-plugins-base-devel.x86_64 > > gtk2-devel.x86_64 > > libXt-devel.x86_64 > And I built Python 2.7.2 (as Shared Library), cmake 2.8.7 > and Qt 4.6.4 from sources. > > Then I built ParaView, it seemed to be installed successfully. > But when I execute ParaView, I got an error as below: > > /usr/local/lib/paraview-3.14/paraview: error while loading > > shared libraries: libQtHelp.so.4: cannot open shared object > > file: No such file or directory > > So I made symbolic link as below: > > ln -s /usr/local/lib/libQtHelp.so.4 /lib64/libQtHelp.so.4 > > But I got another error: > > /usr/local/lib/paraview-3.14/paraview: error while loading > > shared libraries: libQtHelp.so.4: cannot open shared object > > file: Error 40 > > How could I solve these problems? > > > Magician _______________________________________________ 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
