niner / Inline-Perl5

Use Perl 5 code in a Raku program
Artistic License 2.0
95 stars 30 forks source link

Latest version throws the a library not found #149

Closed Xliff closed 4 years ago

Xliff commented 4 years ago

The error:

===SORRY!=== Error while compiling /home/cbwood/Projects/p6-GStreamer/scripts/prop-gen-gstreamer.pl6
===SORRY!=== Error while compiling /home/cbwood/Projects/p6-GStreamer/site#sources/46A21D2AC9383D74F5E3CE760D84D29F9009C6B8 (Inline::Perl5)
===SORRY!=== Error while compiling /home/cbwood/Projects/p6-GStreamer/site#sources/0F50B574622C7F9833911E194CCEAFFE83348161 (Inline::Perl5::Interpreter)
An exception occurred while evaluating a constant
at /home/cbwood/Projects/p6-GStreamer/site#sources/0F50B574622C7F9833911E194CCEAFFE83348161 (Inline::Perl5::Interpreter):12
Exception details:
  ===SORRY!=== Error while compiling 
  Cannot locate native library '(null)': libperl.so.5.28: cannot open shared object file: No such file or directory
  at :

at /home/cbwood/Projects/p6-GStreamer/site#sources/46A21D2AC9383D74F5E3CE760D84D29F9009C6B8 (Inline::Perl5):5

This might have something to do with the fact that Kubuntu Focal Fossa has standardized on libperl5.5.26 and libperl5.5.30, but not libperl5.5.28.

My Environment:

Perl

This is Rakudo version 2020.02.1-386-g6bb87106e built on MoarVM version 2020.02.1-163-g8b109c68b implementing Raku 6.d

Linux

Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal
niner commented 4 years ago

When you upgrade perl, you need to re-install Inline::Perl5 as well.

Xliff commented 4 years ago

Ahh... mea culpa.