Bug 705885
Summary: | vtkpython: libVPIC.so: cannot open shared object file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Hans Ecke <hansecke> |
Component: | vtk | Assignee: | Axel Thimm <Axel.Thimm> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 14 | CC: | Axel.Thimm, hobbes1069, mrceresa, orion |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | vtkdata-5.6.1-1.fc14.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-09-07 00:08:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 721112 |
Works fine for me:
$ unset LD_LIBRARY_PATH
$ vtkpython
vtk version 5.6.0
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00)
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
# ldd /usr/bin/vtkpython | grep VPIC
libVPIC.so => /usr/lib64/libVPIC.so (0x000000319dc00000)
What does "rpm -Va vtk\*" output?
/usr/lib64/libVPIC.so comes from vtk-devel. Confirmed that installing vtk-devel makes vtkpython work without a problem (in fact, it makes mayavi2 work as well). It looks like vtk-python should have an dependency on vtk-devel I'm working on a review request and running into the same problem. Should libVPIC.so only be in a -devel package or should it be in vtk with a soname and just a symbolic link be in -devel? Since I'm working on a package that requires vtk, I'm also working on a fix but I still haven't got it quite right... The changes include: - Updating to current release: 5.6.1 - Getting rid of the double cmake call - Putting the extra libs in /usr/lib{,64}/vtk, instead of /usr/lib{,64}vtk-5.6 (Does it really need to be versioned?) - Removing a lot of the shuffling of files by using additional CMake options. - Trying to get the python install to work without manual moving of files but it's being particularly difficult And finally (the reason you're all here): - Move libVPIC.so and libCosmo.so into the main package. They're only going into vtk-devel because they don't have a soname. I think I've gotten if fixed, if you'd like to try it out I have F14 x86_64 packages available: http://hobbes1069.fedorapeople.org/vtk/ For the maintainer there's also a git diff of the spec file and the rpmlint output from all of the packages. If someone requires F15 or i686 packages I can make them available. I just got done re-uploading the packages. I missed one more library without a soname that was going into -devel instead of the main package. Richard-
Thanks, your new packages work just fine:
root@kolmogorov:/home/hans/Download 506> rpm -qa 'vtk*'
vtk-5.6.1-1.fc14.x86_64
vtk-python-5.6.1-1.fc14.x86_64
root@kolmogorov:/home/hans/Download 507> vtkpython
vtk version 5.6.1
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00)
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Cheers
Hans
vtk-5.6.1-9.fc14.1 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/vtk-5.6.1-9.fc14.1 Sorry for the delay. I had this ready to go, but there was perhaps a problem and it got pushed down. Hopefully this update works. Package vtk-5.6.1-9.fc14.1, gdcm-2.0.16-14.fc14.1: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing vtk-5.6.1-9.fc14.1 gdcm-2.0.16-14.fc14.1' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/gdcm-2.0.16-14.fc14.1,vtk-5.6.1-9.fc14.1 then log in and leave karma (feedback). The above page shows a dependency problem: vtk-examples-VVV-RRR requires vtkdata-VVV but vtkdata-5.6.1 is not provided. For the current 5.6.0 release: root@kolmogorov:/hans> rpm -qa 'vtk*' vtk-devel-5.6.0-38.fc14.x86_64 vtk-python-5.6.0-38.fc14.x86_64 vtk-qt-5.6.0-38.fc14.x86_64 vtk-tcl-5.6.0-38.fc14.x86_64 vtk-java-5.6.0-38.fc14.x86_64 vtk-5.6.0-38.fc14.x86_64 root@kolmogorov:/hans> yum install vtk-examples Resolving Dependencies --> Running transaction check ---> Package vtk-examples.x86_64 0:5.6.0-38.fc14 set to be installed --> Processing Dependency: vtkdata = 5.6.0 for package: vtk-examples-5.6.0-38.fc14.x86_64 --> Running transaction check ---> Package vtkdata.noarch 0:5.6.0-13 set to be installed Until Orion gets a chance to update it as well... http://hobbes1069.fedorapeople.org/vtk/vtkdata-5.6.1-1.fc14.noarch.rpm Package vtkdata-5.6.1-1.fc14.1, vtk-5.6.1-9.fc14.1, gdcm-2.0.16-14.fc14.1: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing vtkdata-5.6.1-1.fc14.1 vtk-5.6.1-9.fc14.1 gdcm-2.0.16-14.fc14.1' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/vtkdata-5.6.1-1.fc14.1,vtk-5.6.1-9.fc14.1,gdcm-2.0.16-14.fc14.1 then log in and leave karma (feedback). vtkdata-5.6.1-1.fc14.1, vtk-5.6.1-9.fc14.1, gdcm-2.0.16-14.fc14.1 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: After installation, the vtkpython executable is not functional. It can not load the libVPIC.so library. Version-Release number of selected component (if applicable): vtk-python-5.6.0-38.fc14.x86_64 How reproducible: always Steps to Reproduce: > yum install vtk-python > vtkpython Actual results: /usr/bin/vtkpython: error while loading shared libraries: libVPIC.so: cannot open shared object file: No such file or directory Expected results: vtk version 5.6.0 Python 2.7 (r27:82500, Sep 16 2010, 18:02:00) [GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. Additional info: This makes the executable run: LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib64/paraview"