Using lxml 3.2.3 or .4 (and possibly older), the recipe fails on OS X with this error:
clang: error: no such file or directory: '/db46'
error: Setup script exited with error: command '/usr/bin/clang' failed with exit status 1
This is because of the code in get_ldshared which replaces "-L/opt/local/lib" with the empty string. Since lxml wants to include the db46 library now, this results in an extra match and an invalid command line, referring to /db46:
Using lxml 3.2.3 or .4 (and possibly older), the recipe fails on OS X with this error:
This is because of the code in
get_ldshared
which replaces "-L/opt/local/lib" with the empty string. Since lxml wants to include the db46 library now, this results in an extra match and an invalid command line, referring to/db46
:One workaround is to place a minimum object file at /db46 to make the linker happy: