[Bug 1236871] Re: Cmake 2.8.7 does not find Perl libraries

Darryl Pierce 1236871 at bugs.launchpad.net
Tue Nov 26 16:39:07 UTC 2013


** Tags added: cmake

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

Title:
  Cmake 2.8.7 does not find Perl libraries

Status in “perl” package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1236871/+subscriptions



More information about the foundations-bugs mailing list