Python 3.8 linking error
Black Michael <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.bugs |
|---|---|
| Message-ID | <[email protected]> |
This error was reported by an OS-X user when compiling hamlib.https://github.com/Hamlib/Hamlib/issues/350 Mike the problem is with the python m4 macros -- they are trying to get the ldflags from distutils.sysconfig, instead of calling python3_config. the returned ldflags are not prefixed with /Library/Frameworks ... python3_config --ldflags gives different ldflags. I am not sure if those are correct. os x issue. I built hamlib for python 2.7. Trying to do the configure for 3.8, I got an error, because the extra linking flag is broken: config.log https://github.com/Hamlib/Hamlib/files/4963830/config.log Python.framework/Versions/3.8/Python as a framework : checking python extra linking flags... -Wl,-stack_size,1000000 -framework CoreFoundation Python.framework/Versions/3.8/Python checking consistency of all components of python development environment... no configure: error: in `/Users/bill/work/hamlib-3.3': configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LIBS environment variable. Example: ./configure LIBS="-L/usr/non-standard-path/python/lib" ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. See `config.log' for more details