[Bug 1236871] [NEW] Cmake 2.8.7 does not find Perl libraries

Launchpad Bug Tracker 1236871 at bugs.launchpad.net
Tue Oct 8 14:03:33 UTC 2013


You have been subscribed to a public bug:

For any Cmake project that depends on Perl Cmake is not finding the Perl
libraries even when they are installed.

The FindPerlLibs.cmake module asks Perl for the name of the library file
using:

perl -V:libperl

which returns the name "libperl.so.5.14.2" as the name. And this file
exists in in /usr/lib. However, the FindPerlLibs.cmake module tries to
find it in:

    /usr/lib/perl5/${PERL_VERSION}/${PERL_ARCHNAME}/CORE
    /usr/lib/perl/${PERL_VERSION}/${PERL_ARCHNAME}/CORE
    /usr/lib/perl5/${PERL_VERSION}/CORE
    /usr/lib/perl/${PERL_VERSION}/CORE

instead.  However, if the file libperl.so were to exist (I tested with a
symlink) in one of the above mentioned directories (I used
/usr/lib/perl/${PERL_VERSION}/CORE) then Cmake would find it just fine.

PROPOSED SOLUTION:

Symlink the provided libraries into the
/usr/lib/perl/${PERL_VERSION}/CORE directory so that Cmake can find
them.

** Affects: perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Cmake 2.8.7 does not find Perl libraries
https://bugs.launchpad.net/bugs/1236871
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to perl in Ubuntu.



More information about the foundations-bugs mailing list