[Paraview] Library Loading Error on Startup

Jeremy Stout stout.jeremy at gmail.com
Tue Sep 7 14:50:25 EDT 2004


I did the ldd and saw that it was trying to load the libraries from
the folder I created in my home directory for the "make" process.

I had another user augment their LD_LIBRARY_PATH with the path to the
folder in my home directory where the libraries were at. After that,
they were able to run the application.

While this is a workable solution, I'm still a little bit perplexed by
the behavior. I was expecting for paraview to look for the library in
the same folder the executable was put in during the "make install"
process. Indeed, the libraries that are in my home folder are also in
the /usr/local/packages/bin directory. That is the same directory the
paraview executable is in.

Thank you very much for your help.

Jeremy Stout


On Tue, 07 Sep 2004 12:00:49 -0600, Phil Sackinger <pasacki at sandia.gov> wrote:
> Try "ldd paraview" to find out which shared objects the paraview binary
> wants to get and, importantly, where it wants to get them.
> 
> Then, it's usually a simple matter for other users to augment their
> LD_LIBRARY_PATH environment variable to list the needed directories.
> 
> If you're root, then there's system-wide fixes involving ld.so.cache
> that can also fix the problem, IIRC. Cf the "man ld.so"
> 
> 
> 
> 
> On Tue, 2004-09-07 at 11:35, Jeremy Stout wrote:
> > Hello, I installed Paraview on a Linux machine in the
> > /usr/local/packages/bin directory. Since I was compiling it from the
> > source code, I logged in as a local user and switched to root so I
> > would have the necessary permissions to install the files to the
> > desired location. That worked. I can run Paraview using my own
> > username or when I am running as root. However, when another user
> > tries to use it, they get the following error message:
> >
> > paraview: error while loading shared libraries: libvtkKWParaViewCS.so:
> > cannot open shared object file: No such file or directory
> >
> > I suspect that it might be a permissions error, but I checked all the
> > files and folders that point to that library and everything seems to
> > be ok. Is there a way to specify the library when I am starting
> > Paraview or link the library in statically? Any help in this matter
> > would be appreciated. Thank you.
> >
> > Jeremy Stout
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> 
>


More information about the ParaView mailing list