Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 590640

Summary: sci-libs/vtk-6.1.0-r2: missing fully-qualified soname libraries
Product: Gentoo Linux Reporter: Gangræna Gorgeous <trupanka>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gangræna Gorgeous 2016-08-06 14:05:07 UTC
I'm trying to use `sci-mathematics/maxima` for visualization with vtk. But running script causes error:

$ TCLLIBPATH=/usr/lib/tcltk/vtk-6.1/ vtk maxout21930.tcl
couldn't load file "/usr/lib/libvtkCommonCoreTCL-6.1.so": /usr/lib/libvtkCommonCoreTCL-6.1.so: cannot open shared object file: No such file or directory
attempt to provide package vtkCommonCoreTCL 6.1 failed: no version of package vtkCommonCoreTCL provided
attempt to provide package vtkcommoncore 6.1 failed: no version of package vtkcommoncore provided
Error in startup script: attempt to provide package vtk 6.1 failed: no version of package vtk provided
    ("package ifneeded vtk 6.1" script)
    invoked from within
"package.orig require vtk"
    ("eval" body line 1)
    invoked from within
"eval package.orig $args"
    (procedure "package" line 2)
    invoked from within
"package require vtk"
    (file "maxout21930.tcl" line 1)

Making sonames with `-6.1.so` suffix as symlinks to `.so.1` libraries fixes the problem.

Examples of `maxima` scripts to test could be found here http://riotorto.users.sourceforge.net/Maxima/vtk/

Reproducible: Always
Comment 1 Coacher 2016-08-06 14:13:36 UTC
*** Bug 590642 has been marked as a duplicate of this bug. ***