qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darryl L. Pierce (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-437) Cmake fails to find Perl libraries on Ubuntu 11.10
Date Mon, 07 Oct 2013 14:13:48 GMT

    [ https://issues.apache.org/jira/browse/PROTON-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788168#comment-13788168
] 

Darryl L. Pierce commented on PROTON-437:
-----------------------------------------

After some initial investigation, it seems at least PART of the issue is that there are no
Perl libraries under the directory returned by:

perl -MConfig -e "print \$Config{archlibexp}"

IOW, the above command returns "/usr/lib/perl/5.12", which is where the Cmake module is going
to look for the libraries. But the library is actually found in /usr/lib:

^_^ [J:0/582] mcpierce@mcp-ubuntu:cmake (PROTON-437-cmake-perl-find-on-ubuntu) $ find /usr/lib
-name libperl.so.5.12.4
/usr/lib/libperl.so.5.12.4

Which is why the module isn't finding it. The easy solution seems to be to include /usr/lib
(or /usr/lib64 on 64-bit systems) to the set of directories to be searched for the file the
Perl vm identifies.

> Cmake fails to find Perl libraries on Ubuntu 11.10
> --------------------------------------------------
>
>                 Key: PROTON-437
>                 URL: https://issues.apache.org/jira/browse/PROTON-437
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Darryl L. Pierce
>            Assignee: Darryl L. Pierce
>
> Even with the FindPerlLibs module it is still failing to find the Perl libraries on Ubuntu.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message