On 3/17/20 9:34 PM, Antonio wrote:
> Package: libpython3.8-dev
> Version: 3.8.2-1
> Severity: normal
>
> Dear Maintainer,
> I detected link errors by compiling via cython + pkgconfig + gcc, the problem
> was in the indicated file, where the "Libs" field is empty. To solve I changed
> to "Libs:
Correct string is: Libs: -lpython3.8
then the "/usr/lib/x86_64-linux-gnu/pkgconfig/python-3.8.pc" file becomes:
# See: man pkg-config
prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
Name: Python
Description: Build a C extension for Python
Requires:
Version: 3.8
Libs.private:
Package: libpython3.8-dev
Version: 3.8.2-1
Severity: normal
Dear Maintainer,
I detected link errors by compiling via cython + pkgconfig + gcc, the problem
was in the indicated file, where the "Libs" field is empty. To solve I changed
to "Libs: -lpython3.8m".
Thanks,
Antonio
3 matches
Mail list logo