MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009897 | CMake | Modules | public | 2009-11-15 12:03 | 2016-06-10 14:31 |
| Reporter | thomas weidner | ||||
| Assigned To | Marcus D. Hanwell | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0009897: FindPythonLibs.cmake fails to call python-config to find dependant libraries | ||||
| Description | Hi, FindPythonLibs.cmake simply searches for a proper libpython<something> library. which seems to work most of the time but for example is not enough on opensuse 11.2 where linking with python results in /usr/lib64/python2.6/config/libpython2.6.a(posixmodule.o): In function `posix_forkpty': posixmodule.c:(.text.unlikely+0x22af): undefined reference to `forkpty' /usr/lib64/python2.6/config/libpython2.6.a(posixmodule.o): In function `posix_openpty': posixmodule.c:(.text.unlikely+0x22f8): undefined reference to `openpty' OTOH python-config --libs advertises to use "-lpthread -ldl -lutil -lm -lpython2.6" as linker flags. There libutil is included, which contains the missing definitions. so please query python-config (on unix?) instead of trying to be smart yourself. ;-) | ||||
| Steps To Reproduce | |||||
| Additional Information | CMake 2.6.4 on openSUSE 11.2 | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-11-15 12:03 | thomas weidner | New Issue | |||
| 2009-11-22 05:22 | Alex Neundorf | Category | CMake => Modules | ||
| 2010-12-14 17:06 | David Cole | Status | new => assigned | ||
| 2010-12-14 17:06 | David Cole | Assigned To | => Marcus D. Hanwell | ||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041617 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||