CMakeLists: Find Python 2.* libs

Bug #1088931 reported by Nico Schlömer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Released
Undecided
Johannes Ring

Bug Description

When Python 2 and 3 are installed alongside on a system, one may get the following configuration:

================ *snip* ================
[...]
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Found PythonLibs: /usr/lib/python3.2/config/libpython3.2.so (found version "2.7.3")
[...]
================ *snap* ================

If I recall correctly, FEniCS works only with Python 2, so you might want to add the explicit version specification in the find_package call for the Python libs, i.e.,

  find_package(PythonLibs 2)

--Nico

Revision history for this message
Johannes Ring (johannr) wrote :

This should be fixed now. Thanks.

Changed in dolfin:
status: New → Fix Committed
assignee: nobody → Johannes Ring (johannr)
milestone: none → 1.1.0
Changed in dolfin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.