[vtkusers] libvtkfreetype.so

Mathieu Malaterre mathieu.malaterre at gmail.com
Sat Feb 21 07:27:32 EST 2009


On Fri, Feb 20, 2009 at 9:11 PM, Parya Mamayyez Siahkal
<parya.momayyezsiahkal at mail.mcgill.ca> wrote:
> Hello all,
>
> I am trying to run an executable which has been built on Ubuntu 8.04
> with VTK 5.02 andI  don't have access to the source code of the program.
>
> Running the executable gives me the following error:
>
> error while loading shared libraries: libvtkfreetype.so.5.0: cannot open
> shared object file: No such file or directory
>
> and I am not able to find the missing library. Has anyone encountered
> this problem before?

I am guessing the exe you were sent was build against a VTK version
where VTK_USE_SYSTEM_FREETYPE was OFF while the VTK version on ubuntu
must be a VTK_USE_SYSTEM_FREETYPE:ON.
You should ask your friend to recompile the exe either as static or
using the exact same configuration as a ubuntu-vtk type installation.

Another way would be to not do transitive linking and thus
libvtkfreetype would not be pulled in the main executable.

This is just pure wild guess.

2cts
-- 
Mathieu



More information about the vtkusers mailing list