[cmake-developers] [CMake 0013555]: PythonLibs 3.2 not found due to "mu" ABI tag

Mantis Bug Tracker mantis at public.kitware.com
Sat Sep 22 06:22:38 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13555 
====================================================================== 
Reported By:                amorilia
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13555
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-09-22 06:22 EDT
Last Modified:              2012-09-22 06:22 EDT
====================================================================== 
Summary:                    PythonLibs 3.2 not found due to "mu" ABI tag
Description: 
Under fedora, the python 3.2 library is called

/usr/lib64/libpython3.2mu.so

however cmake fails to find it. A simple workaround is to add the line

set(Python_ADDITIONAL_VERSIONS 3.2mu)

However, it would be nice if cmake would recognize python 3 on linux out of the
box.

Steps to Reproduce: 
On Fedora 17, with python3 and python3-devel installed, run cmake on a project
whose CMakeLists.txt contains:

find_package(PythonLibs 3.2 REQUIRED)


Additional Information: 
ABI tags are described in this PEP:

http://www.python.org/dev/peps/pep-3149/

This bug is reported upstream at various places, e.g.

https://bugzilla.redhat.com/show_bug.cgi?id=807780
http://cmake.3232098.n2.nabble.com/SWIG-python3-td7366955.html

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-09-22 06:22 amorilia       New Issue                                    
======================================================================




More information about the cmake-developers mailing list