Skip to content

sysconfig.get_config_var("LDLIBRARY") returns non-existent libname #111268

Closed as not planned
@ze897c

Description

@ze897c

Bug report

Bug description:

# Add a code block here, if required

HI folks, this is almost certainly not a bug with sysconfig, but I am not sure. While debugging issue "installing" USD, I ran into a dead end trying to hack build script. sysconfig.get_config_var("LDLIBRARY") returns libpython3.11.a, which is not present. Further digging, the auto-gen Makefile (/lib/python3.11/config-3.11-x86_64-linux-gnu/Makefile) reads

LDLIBRARY= libpython$(VERSION)$(ABIFLAGS).a

Again, sorry if this is the wrong place, but my hope is that folks here can help me correctly direct it ...perhaps a miniconda bug?

$ uname -a                                                                                                                                                                       exit 2
Linux baikal 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ python --version
Python 3.11.5
>>> sys.implementation
namespace(name='cpython', cache_tag='cpython-311', version=sys.version_info(major=3, minor=11, micro=5, releaselevel='final', serial=0), hexversion=51054064, _multiarch='x86_64-linux-gnu')

Thanks for any direction.

CPython versions tested on:

3.11

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions