perl/XS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I updated fedora 20 to fedora 22.
Now, I am in trouble with my perl library.
I tried to understand, but I cannot find any explanation. Hence, I am
think if there is not an issue with the perl library

I got:
Can't load '/home/pdupre/perl_lib/i386-linux-thread-multi/auto/Werf/Werf.so' for module Werf: libperl.so.5.18: cannot open shared object file: No such file or directory at /usr/share/perl5/XSLoader.pm line 68.
 at /home/pdupre/perl_lib/i386-linux-thread-multi/Werf.pm line 58.
Compilation failed in require at ./test.pl line 9.
BEGIN failed--compilation aborted at ./test.pl line 9.


when I run my perl file calling Werf

Why perl want to load libperl.so.5.18 while the perl version is 5.20?

I recompiled my library and installed properly.
Actually, it is 
/home/pdupre/perl_lib/i386-linux-thread-multi/auto/Werf/Werf.so

Did something have change?
How can I for force perl to load the right library?
Would it be an issue with?
perl-ExtUtils-ParseXS-3.24-310.fc22.noarc

This is the result of perl Makefile.PL
 perl Makefile.PL 
Checking if your kit is complete...
Looks good
MakeMaker (v7.04)
Warning (non-fatal): Target 'dynamic' depends on targets in skipped section 'dynamic_lib'
Warning (non-fatal): Target 'static' depends on targets in skipped section 'static_lib'
Generating a Unix-style Makefile
Writing Makefile for Werf::mylib
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Werf
Writing MYMETA.yml and MYMETA.json

and the make:
cp lib/Werf.pm blib/lib/Werf.pm
make[1]: Entering directory '/home/pdupre/Spectroscopy/Werf/mylib'
ar cr libwerf.a 
: libwerf.a
make[1]: Leaving directory '/home/pdupre/Spectroscopy/Werf/mylib'
Running Mkbootstrap for Werf ()
chmod 644 "Werf.bs"
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap "/usr/share/perl5/ExtUtils/typemap"  Werf.xs > Werf.xsc && mv Werf.xsc Werf.c
Please specify prototyping behavior for Werf.xs (see perlxs manual)
gcc -c  -I. -I/home/pdupre/maths/cwerf -I/home/pdupre/maths/myf2c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables   -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -fPIC "-I/usr/lib/perl5/CORE"   Werf.c
Werf.c: In function ‘XS_Werf_constant’:
./const-xs.inc:5:13: warning: unused variable ‘targ’ [-Wunused-variable]
  dXSTARG; /* Faster if we have it.  */
             ^
rm -f blib/arch/auto/Werf/Werf.so
gcc  -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wl,-z,relro  -L/usr/local/lib Werf.o  -o blib/arch/auto/Werf/Werf.so 	\
   -lm -lf2c -L/home/pdupre/mylib -lcwerf -lperl  	\
  
chmod 755 blib/arch/auto/Werf/Werf.so
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Werf.bs blib/arch/auto/Werf/Werf.bs 644

and make install
make[1]: Entering directory '/home/pdupre/Spectroscopy/Werf/mylib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pdupre/Spectroscopy/Werf/mylib'
Running Mkbootstrap for Werf ()
chmod 644 "Werf.bs"
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing ~/perl_lib/i386-linux-thread-multi/auto/Werf/Werf.so
Installing ~/perl_lib/i386-linux-thread-multi/Werf.pm
Appending installation info to ~/perl_lib/i386-linux-thread-multi/perllocal.pod


I checked all my libraries.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux