[New-bugs-announce] [issue15353] ld: library not found for -lpython3.3m because of wrong LDFLAGS_PYTHON

Jerry Jacobs report at bugs.python.org
Sat Jul 14 22:30:31 CEST 2012


New submission from Jerry Jacobs <jerry at xor-gate.org>:

Dear all,

I'm using python in a application (sigrok.org) and want to ship it as a framework with a .app folder. 

I'm building python-3.3b1 from source to a .framework. It is correctly compiled and installed in the given directory. Only the python-3.3.pc is incorrect because it has not the name python-3.3m.pc and includes the following library entries: Libs: -L${libdir} -lpython3.3m

So this results in:
ld: library not found for -lpython3.3m
because of the deployment of the wrong .pc Libs directive:
build/decoders/nunchuk/Makefile
127:CPPFLAGS_PYTHON = -I/Users/jerry/Sigrok/Python.framework/Versions/3.3/include/python3.3m -I/Users/jerry/Sigrok/Python.framework/Versions/3.3/include/python3.3m
159:LDFLAGS_PYTHON = -L/Users/jerry/Sigrok/Python.framework/Versions/3.3/lib/python3.3/config-3.3m -ldl -framework CoreFoundation -lpython3.3m -framework CoreFoundation Python.framework/Versions/3.3/Python
187:PYTHON3_CONFIG = python3.3m-config

Kind regards,
Jerry

----------
assignee: ronaldoussoren
components: Macintosh
messages: 165469
nosy: Jerry.Jacobs, ronaldoussoren
priority: normal
severity: normal
status: open
title: ld: library not found for -lpython3.3m because of wrong LDFLAGS_PYTHON
type: compile error
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15353>
_______________________________________


More information about the New-bugs-announce mailing list