Qt + vtk:libvtkfreetype.so.5.6 kann nicht geladen werden

Alles zu Entwicklungsumgebungen und Editoren für Qt
Antworten
bin4ry
Beiträge: 1
Registriert: 16. Juni 2011 20:10

Qt + vtk:libvtkfreetype.so.5.6 kann nicht geladen werden

Beitrag von bin4ry »

Hi,

ich bin relativ neu in Sachen qt & vk. Ich will ein qt-projekt kompilieren und zum laufen bringen. Das kompilieren funktioniert soweit, jedoch kommt es beim Ausführen des Projekts zu folgendem Fehler:

"Error while loading shared libraries: libvtkfreetype.so.5.6: cannot open shared object file: No such file or directory"

Ich habe Ubuntu 11.04 am laufen und diese Datei ist mehrfach auf dem Dateisystem vorhanden. Ich habe vtk übersetzt mit VTK_USE_FREETYPE:ON. Weiterhin habe ich vtk 5.4 aus den Ubuntu Repos installiert. Ich habe weiterhin Symlinks von /usr/local/lib/vtk-5.6/libvtkfreetype.so.5.6 in so gut wie jedes Lib-Verzeichnis gemacht:

Code: Alles auswählen

find / -iname 'libvtkfreetype*' 
/lib/vtk-5.6/libvtkfreetype.a 
/lib/vtk-5.6/libvtkfreetype.so 
/lib/vtk-5.6/libvtkfreetype.so.5.6.1 
/lib/vtk-5.6/libvtkfreetype.so.5.6 
/usr/lib/vtk-5.6/libvtkfreetype.a 
/usr/lib/vtk-5.6/libvtkfreetype.so 
/usr/lib/vtk-5.6/libvtkfreetype.so.5.6.1 
/usr/lib/vtk-5.6/libvtkfreetype.so.5.6 
/usr/lib/libvtkfreetype.so 
/usr/lib/libvtkfreetype.so.5.6.1 
/usr/lib/libvtkfreetype.so.5.6 
/usr/local/lib/vtk-5.6/libvtkfreetype.a 
/usr/local/lib/vtk-5.6/libvtkfreetype.so 
/usr/local/lib/vtk-5.6/libvtkfreetype.so.5.6.1

/usr/local/lib/vtk-5.6/libvtkfreetype.so.5.6

Wo sucht VTK denn noch diese Datei? Ich habe auch das Paket libfreetype6-dev aus den Ubuntu Repos installiert.

Was mache ich falsch?
Antworten