Message215107
I'm compiling on a Mac OS X 10.9.2.
Python version 3.4.0.
My libz --prefix is $HOME so the library is in $HOME/lib/
The issue is line 53 of Lib/ctypes/test/test_macholib.py which has /usr/lib/libz.1 hardcoded:
======================================================================
FAIL: test_find (ctypes.test.test_macholib.MachOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/machados/src/Python-3.4.0/Lib/ctypes/test/test_macholib.py", line 53, in test_find
self.assertTrue(result.startswith('/usr/lib/libz.1'))
AssertionError: False is not true
I've added a print before the assert command and the library is successfully found:
$ ./python.exe ./Lib/ctypes/test/test_macholib.py
/Users/machados/lib/libz.1.2.8.dylib
F
======================================================================
FAIL: test_find (__main__.MachOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/machados/src/Python-3.4.0/Lib/ctypes/test/test_macholib.py", line 54, in test_find
self.assertTrue(result.startswith('/usr/lib/libz.1'))
AssertionError: False is not true
----------------------------------------------------------------------
Ran 1 test in 0.001s
As you can see the library is found in /Users/machados/lib/libz.1.2.8.dylib which is correct. |
|
Date |
User |
Action |
Args |
2014-03-29 02:31:12 | nullpex | set | recipients:
+ nullpex |
2014-03-29 02:31:12 | nullpex | set | messageid: <1396060272.92.0.250728546732.issue21093@psf.upfronthosting.co.za> |
2014-03-29 02:31:12 | nullpex | link | issue21093 messages |
2014-03-29 02:31:11 | nullpex | create | |
|