Hi Utkarsh,
Thanks for your advice. I tried patchelf, but I couldn't get expected result. The best way now I found was to add a path to /usr/local/paraview-3.14.1/bin. I'll do it for a time. Magician On 2012/05/07, at 0:03, Utkarsh Ayachit wrote: > "paraview" executable expects to find the libs either the standard > libs locations or that specified by LD_LIBRARY_PATH or under a > relative path <exe_dir>../lib/paraview-3.14 (from memory, so may be > slightly different). When you make a symbolic link, you end up messing > this "search" logic. > > One solution is to use patchelf (http://nixos.org/patchelf.html) to > add the location of the libs to the rpath for every executable you're > creating the symlink for. > > Utkarsh > > On Sat, May 5, 2012 at 10:05 AM, Magician <f_magic...@mac.com> wrote: >> Hi all, >> >> >> I built ParaView with helpful advices of the ML's users. >> >> Now I want to install ParaView on a specified directory. >> (ex. /usr/local/paraview-3.14.1) >> There appeared to be a parameter such as CMAKE_INSTALL_PREFIX, >> so I set it as "/usr/local/paraview-3.14.1" and ran configure. >> >> The installation looked successfully finished. >> Additionally I appended libraries' paths to /etc/ld.so.conf. >> I could execute "/usr/local/paraview-3.14.1/bin/paraview" >> and everything looked fine. >> >> But if I made symbolic link as >> "ln -s /usr/local/paraview-3.14.1/bin/paraview /usr/local/bin/paraview" >> and tried to execute "paraview", I got an error as below: >>> Error converting executable file >>> "/usr/local/bin/../lib/paraview-3.14/paraview" >>> to real path: No such file or directory >> >> Which is the best way to change the installation directory >> and execute with a symbolic link on /usr/local/bin? >> >> >> 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