Bug ID 937061
Summary perl-qt4 badly broken: loading QtCore4 crashes
Classification openSUSE
Product openSUSE Distribution
Version 13.2
Hardware x86-64
OS openSUSE 13.2
Status NEW
Severity Critical
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter novell@vertone.co.uk
QA Contact qa-bugs@suse.de
CC daxim@cpan.org
Depends on 757200
Found By ---
Blocker ---

+++ This bug was initially created as a clone of Bug #757200 +++

This is a duplicate of Bug #757200 but since 12.1 has reached its end-of-life
I've created a new bug report.

perl-qt4 is broken. Any attempt to use it results in a failed to load
QtCore4.so message:

-$ perl -e 'use QtCore4; '                       
Can't load
'/usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi/auto/QtCore4/QtCore4.so'
for module QtCore4: libperl.so: cannot open shared object file: No such file or
directory at /usr/lib/perl5/5.20.1/XSLoader.pm line 68.
 at /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi/QtCore4.pm line
1643.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Running strace reveals that QtCore4.so is successfully loaded. The problem is
that after loading QtCore4.so it then searches in the wrong place for
libperl.so. It searches under the /lib64 and /usr/lib64 directory trees when
libperl.so is located under the /usr/lib/perl5 tree.

As a temporary fix, adding the following soflink resolves the problem:

ln -s /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/CORE/libperl.so
/usr/lib64/libperl.so


You are receiving this mail because: