Cmake 2.8.7 does not find Perl libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Ubuntu) |
New
|
Undecided
|
Unassigned |
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/
/usr/
/usr/
/usr/
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/
PROPOSED SOLUTION:
Symlink the provided libraries into the /usr/lib/